Create and return a date based on a year and a number of days value:
SELECT MAKEDATE(2017, 3);
Try it Yourself »
The MAKEDATE() function creates and returns a date based on a year and a number of days value.
MAKEDATE(
year,
day)
Parameter | Description |
---|---|
year | Required. A year (4-digits) |
day | Required. A number that indicates the day of the year |
Works in: | From MySQL 4.0 |
---|
Create and return a date based on a year and a number of days value:
SELECT MAKEDATE(2017, 175);
Try it Yourself »
Create and return a date based on a year and a number of days value:
SELECT MAKEDATE(2017, 100);
Try it Yourself »
Create and return a date based on a year and a number of days value:
SELECT MAKEDATE(2017, 366);
Try it Yourself »
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!