In MariaDB, FROM_DAYS()
is a built-in date and time function that returns a date value based on a given number of days from the start of the standard calendar (0000-00-00).
You pass the number of days to the function when you call it.
The FROM_DAYS()
function is the converse of the TO_DAYS()
function.