format_date — Format a date for output according to the current locale.¶
- format_date($date, $format = Zend_Date::DATE_MEDIUM)¶
Format a date for output according to the current locale.
- $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.