Syntax
FROM_DAYS(N)
Purpose
FROM_DAYS() returns the DATE value corresponding to the number of days specified for N. The number of days refers to the number of days from 0000-01-01.
Examples
obclient> SELECT FROM_DAYS(736271), FROM_DAYS(700000);
+-------------------+-------------------+
| FROM_DAYS(736271) | FROM_DAYS(700000) |
+-------------------+-------------------+
| 2015-11-04 | 1916-07-15 |
+-------------------+-------------------+
1 row in set