TO_DAYS(date) returns a day number (the number of days since year 0). : TO_DAYS : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » TO_DAYS »

 

TO_DAYS(date) returns a day number (the number of days since year 0).


mysql>
mysql> SELECT TO_DAYS(950501);
+-----------------+
| TO_DAYS(950501|
+-----------------+
|          728779 |
+-----------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» TO_DAYS