Trying to get the timezone or time from the browser connecting to Orchestrator, with no luck. When I run the following:
var dt = new Date()
System.log(dt.toLocaleString())
from the datacenter, the log shows:
2023-08-10 05:39:46.672 -05:00 INFO (com.dev/test2) August 10, 2023 at 10:39:46 GMT
Orchestrator knows the date and time of where I am running it 🙂 When I run it from my desktop I get:
2023-08-10 11:56:11.161 +01:00 INFO (com.dev/test2) August 10, 2023 at 10:56:11 GMT
Does anyone know how to get this date & time?
Many thanks,
Carl