we got many locations with different time zones.
Using a variable (Type: Datetime) we are defining a local time. Example:: 29.09.2017 20:40:01
In our escript this times are shown as UTC. Example: 2017-09-29T18:40:09Z
We then reformate and localize these using VBS which gets very messy. But we need the time in the respective timezone it was set in as the variable is used to control the reboot of the computer.
Is there a way to do the localization and format in escript? Are there maybe some best practices to do so?