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!