LC Date Conversions post 2035 [OT ish]

Ralph DiMola rdimola at evergreeninfo.net
Mon Nov 7 11:19:28 EST 2022


Interesting... On my Outlook the received date is used to sort emails but on
my phone the "date" field in the header is used for both sorting and
displaying in the list. So on my phone this email will be at the top until
31 Dec 2034.

This just reinforces that the interpretation of internet mail headers is
still not consistent. (and maybe should have had a little more thought
before the barn doors were opened)
 
Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Mark Clark via use-livecode
Sent: Sunday, December 31, 2034 9:25 PM
To: How to use LiveCode
Cc: Mark Clark
Subject: LC Date Conversions post 2035

I was testing one of the tools I use to handle licensing today and decided
to run the series through a few iterations adding 2 years at a time. I
noticed that my dates were reverting to the 20th c. Hmm, whoops.

After a bit of head scratching I decided it wasn't just my doing.

Date conversion sort of works but the output can lead to trouble in the
future. I've done a few tests and some lengthy, but if anyone cares to
perform the "short test," please do.

Change your date to 12/31/2034; then change to 2035. 



run this:  

put the date into test
convert test to dateitems

answer item 1 of test --works in 2034; broken in 2035


Mark



_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list