Home >Database >Mysql Tutorial >How to get date based on parameters in MySQL

How to get date based on parameters in MySQL

WBOY
WBOYforward
2023-06-03 22:32:23931browse

MAKEDATE(year,dayofyear): Get the date based on the parameters (year, day of year)

SELECT MAKEDATE(2015 ,32)
-> 2015-02-01

The above is the detailed content of How to get date based on parameters 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