In my client's MySQL database, the following timestamp is saved and I am unable to convert it to date and time because it is invalid.
20211024090000
echo date('m/d/Y H:i:s', 20211024090000);
this code results in:
11/09/642431 23:20:00
But it should be 2021 year. I am sure that the timestamp is correct, I just can't figure out what type it is so I can convert it correctly.