MySQL FROM_DAYS Function

How to use this MySQL From days function to get the Date from day number with an example?. MySQL FROM_DAYS function is one of the MySQL Date Functions, which is useful to return the date from a given day number.

The basic syntax of the FROM_DAYS() Function in MySQL is as shown below:

FROM_DAYS(Day Number);

MySQL FROM_DAYS function Example

The below shown Date Function query helps you understand the use of this MySQL From Days function. Here, we are returning the MySQL Date from different day numbers.

SELECT FROM_DAYS(1000);

SELECT FROM_DAYS(96000);

SELECT FROM_DAYS(996000);
MySQL FROM_DAYS Function 1