I understand that because PHP represents dates using milliseconds, you cannot represent dates that have passed in 2038. I have a problem when I want to calculate dates in the future. Thousands years.
Obviously, I cannot use the php date function to represent this date due to a limitation, however, I have something on my side ... All I want to do is store the year, month and day. I am not interested in hour, minute, second and millisecond.
Do I correctly believe that without including this additional information, I would have to calculate a lot more in the future, because I am ready to refuse a lot of information. Is this some kind of library that is currently doing this? If there is no advice on how to approach this issue?
date php timestamp time year2038
Moz Mar 16 2018-11-11T00: 00Z
source share