Subj : Run JS with a different TZ To : Digital Man From : nelgin Date : Fri Oct 13 2023 06:57 pm Re: Run JS with a different TZ By: Digital Man to nelgin on Fri Oct 13 2023 13:33:06 > Okay, so if it's in UTC, it's in central *or* eastern US. It's UTC. > > Example: > jsexec '-r Date("2023-10-13T23:30:00Z")' jsexec '-r Date("2023-10-13T23:30:00Z")' Result (string): Fri Oct 13 2023 18:54:33 GMT-0500 (CDT) Right, which gives a result in central time. I want the result in eastern time, as per: TZ="America/New_York" jsexec '-r Date("2023-10-13T23:30:00Z")' Result (string): Fri Oct 13 2023 19:55:42 GMT-0400 (EDT) However, there's no way to set TZ before executing the script from the xtrn section since I'm not calling jsexec. --- þ Synchronet þ End Of The Line BBS - endofthelinebbs.com .