I added the macro of _TIME_BITS=64 to Buildroot, and the system can set the time after 2038 after compilation, but if it exceeds 2038, my timestamp is -1, how to solve it
date -s "2038-11-23 00:00:00"
Tue Nov 23 00:00:00 UTC 2038
date +%s
-1
I added the macro of _TIME_BITS=64 to Buildroot, and the system can set the time after 2038 after compilation, but if it exceeds 2038, my timestamp is -1, how to solve it
Tue Nov 23 00:00:00 UTC 2038
-1