MySQL warning datetime # 1264

Why date

2010-10-11 24:00:00

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

Warning: #1264 Out of range value adjusted for column 'date' at row 1
+3
source share
1 answer

24the hour does not exist, the last hour is 23.

The watch may have a range of 0 - 23 minutes, 0 - 59 seconds0 - 59

+3
source

Source: https://habr.com/ru/post/1769132/


All Articles