var r = globalActions.getUtcTime(-2e3)
var i = r.getUTCHours() * 3600 + r.getUTCMinutes() * 60 + r.getUTCSeconds()
console.log(r)
console.log(i)
//Mon Feb 05 2024 20:12:45 GMT+0330 (Iran Standard Time)
//60165
Log(DateTime.Time(DateTime.Now)) ' your local time
DateTime.SetTimeZone(0) ' set to utc
Log(DateTime.time(DateTime.Now)) ' "local" time in utc-land
DateTime.DateFormat = "h:mm a zzzz" ' get fancy
Log(DateTime.Date(DateTime.Now))
DateTime.DateFormat = "kk:mm:ss zzzz" 'more fancy
Log(DateTime.Date(DateTime.Now))
Log(DateTime.Time(DateTime.Now)) ' your local time
DateTime.SetTimeZone(0) ' set to utc
Log(DateTime.time(DateTime.Now)) ' "local" time in utc-land
DateTime.DateFormat = "h:mm a zzzz" ' get fancy
Log(DateTime.Date(DateTime.Now))
DateTime.DateFormat = "kk:mm:ss zzzz" 'more fancy
Log(DateTime.Date(DateTime.Now))