Yea it appears accurate, I missed 12:00 so I did this test:
D:\Server\Scripts>todaytomorrow2.pl
today 05508
yesterday 05408
seconds left 42104
time 1618125710552161
that time field states that it was run at 12:18:16. I then did the following math:
(12*60)*60 - (18*60) - 16 = 42104
If you want to try this, add the following line:
print "time ", localtime($time_cepoch), "\n";
The first 6 characters in the time output are read: SSMMHH