SQL

MySQL TO_DAYS() Function

Return the number of days between the date and year 0: