Functions

DATETIME

Converts a value to DateTime, returns a DateTime representation. Failure to convert will result in an error.

Syntax

DateTime? DATETIME(object value)

Example

DATETIME("2017-06-04 12:36:04")

Will return a DateTime object of the specified value.