01-07-2009 11:47 AM
01-07-2009 12:12 PM
In LabVIEW 7.0 you might have some problems, but recent versions have a clear distinction of timezones. What code do you have allready?
Take a look at the time formatter strings available for 7.0 (I don't know which you have).
Ton
01-07-2009 12:15 PM - edited 01-07-2009 12:16 PM
In what format are you getting the time? As a string? Are you converting it to a timestamp? If so, you just need to add/subtract your time zone difference, in hours.
EDIT: Just saw the note on LV 7. I did not test the above in 7.0 as I don't have 7.0.
01-07-2009 12:15 PM
There's a post on LAVA with a VI to return your current time zone. Add this to GMT from the GPS and Bob'll be your uncle.
Jim
01-07-2009 12:52 PM - edited 01-07-2009 12:53 PM
01-07-2009 01:12 PM - edited 01-07-2009 01:13 PM
01-07-2009 01:26 PM
jcarmody wrote:Is this best?
Probably. Except that I don't think %z is available for LabVIEW 7. In the LabVIEW 7.1 manual it mentions %Z, but not %z.