Product Solutions Support
Try MemSQL

TIME

Extracts the time part from a datetime object.

TIME (dateobj)

Arguments

Return Type

Time object. If dateobj is not a valid time, returns NULL.

Examples

memsql> select time('2019-01-01 05:06');
+--------------------------+
| time('2019-01-01 05:06') |
+--------------------------+
| 05:06:00                 |
+--------------------------+
Was this article useful?