I have data in the UTC time format. Can someone tell me how to convert this data to my local time (Pacific Standard Time)? Thanks,
If your UTC time is 7:00 am so Pacific Standard Time will be 8 hours earlier....
names default to here(1); UTCtime = informat("07:00:00", "h:m:s"); Pacific time = UTCtime - in hours(8); show(UTCtime, format(Pacific time,"h:m:s"));
Thanks for your response. A quick follow-up? Is there a solution that can accommodate time change (i.e., to daylight saving and back)?
There is not a built in function for this. You will need to compensate for day light saving by checking on the date of the measurement in your JSL
Good point. Historical measurements, converted to local time... Does not matter if you are currently in daylight or standard time.
You might want to consider converting your local time to UTC instead, depending on your audience.