strftime

(PHP 3, PHP 4 )

strftime --  Format a local time/date according to locale settings

Description

string strftime (string format [, int timestamp])

Returns a string formatted according to the given format string using the given timestamp or the current local time if no timestamp is given. Month and weekday names and other language dependent strings respect the current locale set with setlocale().

The following conversion specifiers are recognized in the format string: