« first day (26 days earlier)      last day (1937 days later) » 

03:02
I am extremely confused.
If I copy this into a file on my PC and run, I get:
> -344057
-311353
I literally have no idea what is causing this.
Oh... It was a 32-bit vs 64-bit Integer problem. u.u
 
2 hours later…
05:14
@H.PWiz actually it is a machine integer vs arbitrary precision integer problem. s1 works for any integral type so it defaults to Integer. s2 is forced to be Int because of the list indexing. The problem doesn't show up on 64-bit though because they are large enough to hold the numbers

« first day (26 days earlier)      last day (1937 days later) »