System Time Zone
bobsneidar at iotecdigital.com
Wed Sep 14 17:10:43 EDT 2022
Well, IDEALLY I would like a way that does not involve a lookup list, but I do not think that is possible. I already downloaded an official list of time zones in the proper format, and their standard and savings time offsets. That should be close enough. Another thing I can do is in a settings pane, offer up a list of time zones and have the user select the correct one before iCalendar support is enabled. Easy enough.
On Sep 14, 2022, at 09:43 , J. Landman Gay via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:
That was my first thought too and I (erroneously) suggested the internet "time", which should have been "date". I found a ready-made lookup list and began experimenting. No go.
You have to know whether the area is on daylight savings time because the offset changes. You also need to know the location because cities in the same zone vary, and Apple's format requires a specific city location reference, so that would be a second lookup.
And the OP doesn't want a lookup list anyway.
Jacqueline Landman Gay | jacque at hyperactivesw.com<mailto:jacque at hyperactivesw.com>
HyperActive Software | http://www.hyperactivesw.com<http://www.hyperactivesw.com/>
More information about the use-livecode