For some reason MD Shell Script
doesn't return local time but UTC time.
I've been using for years following Shell Script
to get what I call "TimeZone in seconds", a signed Global integer variable (TZin2nd) which is updated by a macro triggered by an Intent ...TIMEZONE_CHANGED.
Would it be possible to get such a MagicText to convert more easily sytem time(s) to local time(s)?
date -d @[system_time] +%X
doesn't return local time but UTC time.
I've been using for years following Shell Script
date -D %Y%m%d%H%M%S -d 19700101000000 +%s
to get what I call "TimeZone in seconds", a signed Global integer variable (TZin2nd) which is updated by a macro triggered by an Intent ...TIMEZONE_CHANGED.
Would it be possible to get such a MagicText to convert more easily sytem time(s) to local time(s)?