DATEVALUE

Converts a provided date string in a known format to a date value.

Parameters

value String (required) - a string containing a date

Returns

Date

Examples

DATEVALUE('2015-01-01')

// returns 2015-01-01