System Time Zone

Bob Sneidar bobsneidar at iotecdigital.com
Wed Sep 7 19:47:51 EDT 2022


Hi all. 

I am exploring the possibility of creating a scheduling module, and am reading up on the iCalendar specification. I can localize the date and time by entering a valid time zone, and can hard code it for where I am at, but I want to be able to use this anywhere. 

The format of a localized time in iCalendar looks something like: 

DTSTAMP;TZID=America/Los_Angeles:20220907T163000

It's the, "America/Los_Angeles" bit I am trying to find a way to grok. How can I extract that in LC? Isn't there some kind of function that will return the current system's time zone? 

Bob S




More information about the use-livecode mailing list