Loading lesson path
Concept visual
Start at both ends
Return a date from a numeric representation of the day:
SELECT FROM_DAYS(685467);The FROM_DAYS() function returns a date from a numeric datevalue. The FROM_DAYS() function is to be used only with dates within the Gregorian calendar.
TO_DAYS() function.
FROM_DAYS( number )
Required. The numeric day to convert to a date
From MySQL 4.0
Return a date from a numeric representation of the day:
SELECT FROM_DAYS(780500);❮ MySQL Functions