j2ctime() was just plain wrong. It wasnt easy with DST messed up.
I have run it and then alt-tab'ed to trusted ctime - perfect.
Had to adjust for messed-up DST before the result could be checked.
#macro j2ctime(j)
#local s = j - 2440587.5;
#local d = s * 86400;
round(d,0)
#end
Straight up easy.
Having been tortured doesnt makes this any easier. You may have noticed
something. Now you know.
Post a reply to this message
|