The date format and the time format are set in your computer's operating system. You can change these formats by configuring your computer's. Just replace the hardcoded date with your value $timestamp = strtotime('2-March- '); $newDate = date('d-F-Y', $timestamp); echo $newDate; //outputs. Date display formats can have two sections. The first is required and contains the format for dates; the second is optional and specifies how to represent NULLs.
Excel Tips - Converting a Text String to a Date
Date display - not
A leading zero displays if the time is before Do you really want to keep separate copies of documents for the U. People are comfortable with their "natural" date formats. This method is unambiguous. In some locales even the abbreviation for a month name may be longer than three characters. If a document is a table with some columns containing dates the extra space might become an issue, especially if you've designed a layout that is already pressed for space. It is people friendly. In some locales even the abbreviation for a month name may be longer than three characters. Displays date display uppercase AM with date display hour before noon; displays an uppercase PM with any hour between noon and If there is likely to be any ambiguity on the part of the user, it is usually best to use explicit month names and 4-digit years for Gregorian dates, or at least indicate on the page how to read the dates. Appropriateness is a function of the linguistic context rather than simply the user's browser settings, date display.