date

(PHP 3, PHP 4 )

date -- Format a local time/date

Description

string date (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.

The following characters are recognized in the format string: