Return a date from a numeric representation of the day:
SELECT FROM_DAYS(685467);
Try it Yourself »
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.
Note: This function is the opposite of the TO_DAYS() function.
FROM_DAYS(
number)
Parameter | Description |
---|---|
number | Required. The numeric day to convert to a date |
Works in: | From MySQL 4.0 |
---|
Return a date from a numeric representation of the day:
SELECT FROM_DAYS(780500);
Try it Yourself »
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!