...
#python3 -c 'import time; print(time.localtime(-17890896514))'
time.struct_time(tm_year=1403, tm_mon=1, tm_mday=23, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=6, tm_yday=23, tm_isdst=0)
#perl -e 'print join q[ ], localtime(-17890896514)'
0 0 0 23 0 -497 0 22 0
... funny thing is (Perl) "localtime" function in scalar context produces, as a string, sensible individual values (format sucks however) ...
perl -e 'print scalar localtime(-17890896514)'
Sun Jan 23 00:00:00 1403
#C #localtime(3)