AnsweredAssumed Answered

calculate time zone or UTC

Question asked by jroganesri-ca-esridist Employee on Dec 19, 2017
Latest reply on Sep 10, 2018 by JTedrick-esristaff

Hello, I'm trying to calculate a custom string from a date and time using the now() function.  This gives my the local time, which is fine, kinda.  What I need to know is the timezone of this local time, or the zulu time.  I'm using the info found at:

Dates and Time in Survey123 for ArcGIS 


It would be great if there was a %timezone or something that returned the UTC offset but there isn't.  Is there any way to calculate this?  I'm wondering if it could be calculated out of a decimal date or something, but I'm limited to what I can use as a calculation in Survey123.


My goal is to write a military date-time group, EXAMPLE: 091630Z JUL 11 represents 1630 UTC on 9 July 2011.  There is more to my final formatting than that though, saving it as a date/time object won't help.