SO, i want to store some dates in my database, but whenever i try to insert it i get:
Invalid datetime format: 1292 Incorrect datetime value: '2050-12-12 00:00:00' for column 'object_end'
However if i use for example 2021
as year, it works fine. Checking MySQL documentation seems like it supports dates until year 9999
, so why am i getting this error? (if you need some code, feel free to ask, i'll edit the question with that code)