02-14-2013 09:34 AM
I have a question. Will I need to make the following correction each year after/belore daylight savings time?? If so, is there a way to make this change programmatically?
http://digital.ni.com/public.nsf/allkb/95CA7D76758B736B8625777C006C7934
Thank you, John
02-14-2013 09:55 AM
LV returns a time stamp as a number of seconds elapsed from a given absolute origin date; the document you are referring to is only concerning how the absolute date/time is shown to the user: taking into account or not the DST (you may also show it in UTC). So what kind of correction do you mean?
02-14-2013 01:45 PM
The onboard time (the time stamp in the files) is GMT for our application. The hope is we could find a solution without having to prompt the user (once a year) to change to DST.
02-14-2013 02:01 PM
Look at the Date/Time to Seconds function and its inverse. It uses a cluster to get a timestamp or visa versa. This will help you tell if DST is used. If you have a timestamp already, I'm pretty sure LabVIEW accounts for DST already. But use these functions to make sure.
02-14-2013 02:39 PM
02-19-2013 02:35 PM
Hi again, is there not a utility that will convert local machine time to UTC or GMT?
02-19-2013 02:54 PM
look at pcardinale's example again. See that false constant? That is telling the function to NOT convert to UTC time. If you set it to TRUE, the output will be in UTC time.