Convert a numerical day representation into a date.
SELECT FROM_DAYS(685467); |
The FROM_DAYS() function generates a date from a numeric date value.
The FROM_DAYS() function should only be used with dates that fall within the Gregorian calendar.
Note: This function serves as the inverse of the TO_DAYS() function.
FROM_DAYS(number) |
Parameter |
Description |
number |
Required: The numerical day to be converted into a date. |
Works in: |
From MySQL version 4.0 |
Convert a numeric day representation into a date.
SELECT FROM_DAYS(780500); |