System Time Zone
Mark Wieder
ahsoftware at sonic.net
Wed Sep 7 20:14:42 EDT 2022
On 9/7/22 16:47, Bob Sneidar via use-livecode wrote:
> 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?
linux:
put the last word of shell("date")
osx:
put word -2 of shell("date")
Windows (possibly one of these)
NOTE: empirically these return different values. ymmv:
tzutil /g
systeminfo | findstr /C:Time Zone
--
Mark Wieder
ahsoftware at gmail.com
More information about the use-livecode
mailing list