Home >Database >Mysql Tutorial >How to use FROM_DAYS function in MySQL

How to use FROM_DAYS function in MySQL

王林
王林forward
2023-05-26 23:07:041016browse

FROM_DAYS(date)

SELECT FROM_DAYS(367)
-> 0001-01-02

Returns the DATE value of how many days since AD ​​0

The above is the detailed content of How to use FROM_DAYS function in MySQL. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete