How to use TO_DAYS function in MySQL
This article will explain in detail how to use the TO_DAYS function in MySQL. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
TO_DAYS (date)
SELECT TO_DAYS ('2016-01-16') SELECT TO_DAYS ('20160116') SELECT TO_DAYS ('160116')-> 736344-> 736344-> 736344
Returns the total number of days from year 0 to date date
This is the end of the article on "how to use the TO_DAYS function in MySQL". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.