Function: to_date

Function: to_date

since 0.3.8

Usage

 to_date(any value)

Convert a string value to a date.

Parameters

Parameter Type Description
input string Value to convert to a date.

Examples

 to_date("2008-12-31 23:59:59")
 to_date("today midnight")

See also

to_string Convert dates to strings