Product Solutions Support
Try MemSQL

FROM_DAYS

Returns the date object corresponding to the input day number. Day number starts with 1 being 0000-01-01 and counts sequentially.

FROM_DAYS ( epoch )

Arguments

Return Type

A date object.

Examples

memsql> select from_days(736411);
+-------------------+
| from_days(736411) |
+-------------------+
| 2016-03-23        |
+-------------------+
Was this article useful?