MySQL Date/Time to_day() Function

The to_days() is a MySQL date/time function. It is used to convert the date into numeric number of days.

Syntax

Parameter:

Date : date to be converted into number of days.

Example 1

Output:


MySQL Datetime to_day() Function

Example 2

Output:


MySQL Datetime to_day() Function
Next TopicMySQL datetime




Latest Courses