Name

date() — Decode time string into date

Common Usage

date( timestring, modifier, ... )

Description

The date() function takes a timestring value plus zero or more modifier values and returns a text value in the format YYYY-MM-DD. It is equivalent to the call strftime( '%Y-%m-%d', timestring, ... ).

See Also

strftime(), datetime(), time()