How to use this From days function to get the Date from the day number with an example? MySQL FROM_DAYS function is useful to return the date from a given day number.
The basic syntax of the FROM_DAYS Function is as shown below:
FROM_DAYS(Day Number);
Example
The below shown Date method query helps you understand the use of this MySQL From Days method. Here, we are returning the Date from different day numbers.
SELECT FROM_DAYS(1000);
SELECT FROM_DAYS(96000);
SELECT FROM_DAYS(996000);
