Obtaining the UTC Offset for a Timestamp in LabVIEW

Updated Mar 2, 2018

Reported In


  • LabVIEW

Issue Details

LabVIEW stores the time in UTC (Universal Time Coordinated) format, but displays the time in Local Time format. Is it possible to obtain the difference between local time and UTC time for a given computer?


Yes. You can take Daylight Saving and Time zone into account to compute the offset in seconds from UTC Time to the Local time (as specified by the computer). There is a great example program on how to convert a time stamp from UTC to local and back.