Function to get offset of local time to UTCWhat inspired this wish list request?
I make several reports that run hourly on a server farm -- they output static reports via HTML files, and one way that I'd like to visually display if the report is stale is to have a short little JavaScript header that checks the creation time vs. the current UTC time (our company has users around the globe), and if older than 2 hours it'll turn the background red.
What is the improvement you would like to see?
I'd like JMP to natively give the UTC offset of the local time-zone. Currently I spin up a short little Python script in the AddinLoad file to determine it, but It'd be nice to have it be native
Why is this idea important?
Having UTC offset can be handy when dealing with users across multiple time-zones.
Automation and ScriptingMass CustomizationRe: Function to get offset of local time to UTCOr a function to return UTC directly, and formats that understand how to present it for the current, or a specified, time zone. https://www.nhc.noaa.gov/aboututc.shtml
Working with time is hard, and UTC is the way to go for data that might be collected across time zones and years and DST changes that change according to local government whims. https://en.wikipedia.org/wiki/Time_in_Indiana
Re: Function to get offset of local time to UTCi really need UTC time. if i am writing a script and need to know the UTC time of their site.. right now it seems the best bandaid workaround is to ping Google.com and extract the time from the header of the blob? UUG!
Re: Function to get offset of local time to UTCAny update on this? I hope JMP considers itself an international tool.