09-10-2009 05:35 PM
Hi all,
Does anybody understand how this GetUTCoffset.vi supplied by NI works?
http://digital.ni.com/public.nsf/allkb/27835BBF3614FF5B86256E310076F196
Cheers,
Battler.
09-12-2009 05:00 AM
you want to know how it works like how they made it or how to use it?
09-12-2009 05:52 AM - edited 09-12-2009 05:54 AM
Hi battler,
it seems you found a "not complete" (or wrong) example on NI's website.
To make the vi deliver meaningful results you have to edit those two timerecords by making them have the correct date as default value (date given by their name)...
I just submitted a comment by the according button on the example's site to NI...
09-12-2009 09:45 PM
Thanks GerdW.
I used the Seconds to Date/Time.vi with input "to UTC" = TRUE.
To display the offset between UTC and local time one could subtract the appropriate cluster elements.
Cheers,
Battler.