The input arg to localtime() points to a number of seconds that converts to a year greater than 9999.
Correct the value pointed to as input to localtime().
JrEdcGmtmEoverflow08