format_date¶
Summary¶
- format_date(mixed $date, string $format = FFF)¶
Format a date for output according to the current locale.
Parameters: - $date (mixed) – Date to format. If an integer, the date is intepreted as a Unix timestamp. If a string, the date is interpreted as an ISO 8601 date.
- $format (string) – Format to apply. See Zend_Date for possible formats. The default format is the current locale’s “medium” format.
Returns: string