开发者

MySQL datetime warning #1264

开发者 https://www.devze.com 2023-01-20 03:08 出处:网络
Why does the date 2010-10-11 24:00:00 开发者_开发百科 give me a MySQL warning? The data is then not written to the database.

Why does the date

2010-10-11 24:00:00
开发者_开发百科

give me a MySQL warning? The data is then not written to the database.

Warning: #1264 Out of range value adjusted for column 'date' at row 1


24 hour is not exists, last hour is a 23.

Hours can be of range 0 - 23 Minutes 0 - 59 Seconds 0 - 59

0

精彩评论

暂无评论...
验证码 换一张
取 消