date

Returns a date from a single input value. "Expression" can be a string or integer representation of a date.

Syntax

date ( expression )

Example

date ( '1998-01-08' )

Result

Returns 8 January 1998.