How to get the time cut in mysql
This article shows you how to get the time cut in mysql, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
-- cut off the generation time of the period
Select UNIX_TIMESTAMP (now ())
Select UNIX_TIMESTAMP ('2012-1-1-1 00 00')
-- convert time cut-off to date format
Select from_unixtime (1330509529)
The above content is how to get the time limit in mysql. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.