VeloDB Cloud
SQL Manual
Functions
date-time-functions
from_days

from_days

Description

Syntax:

DATE FROM_DAYS(INT N)

This function calculates the date based on the number of days after 0000-01-01.

Example

mysql > select from u days (730669);
+-------------------+
| from_days(730669) |
+-------------------+
| 2000-07-03        |
+-------------------+

Keywords

FROM_DAYS,FROM,DAYS