C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL Date/Time to_day() FunctionThe to_days() is a MySQL date/time function. It is used to convert the date into numeric number of days. Syntax
select to_days(date); Parameter:
Date : date to be converted into number of days. Example 1
select to_Days('2018-10-03');
Output:
Example 2
select to_Days('1995-02-11');
Output:
Next TopicMySQL datetime
|