Product Solutions Support
Try MemSQL

TIMESTAMP

Convert the input argument to a datetime object.

TIMESTAMP(dateobj)

Arguments

Return Type

Datetime object. If dateobj is not a valid date, returns NULL.

Examples

memsql> select timestamp('2015-03-03');
+-------------------------+
| timestamp('2015-03-03') |
+-------------------------+
| 2015-03-03 00:00:00     |
+-------------------------+
Was this article useful?