LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert directly time elapsed in seconds from 01/01/1904 into universal time?

Is there a function to convert directly in Labview the time elapsed in seconds from 01/01/1904 into universal time?
I use the function to convert into local time and test the DST (Dayligth/Standard Time) to know if this dayligth or standard time and add or withdraw 3600 seconds to compensate a change in DST but it is not efficient during the change from standard time to dayligth time.
See the file joined please and watch the change from 25 march 2005 to 26 march 2005 (DST=0->1)
However the change from 29 october to 30 october 2005 (DST=1->0) is correct (to see it choose the other number of seconds on the VI diagramm)
0 Kudos
Message 1 of 2
(2,980 Views)
Use quotient/remainders.  That should work.  See the attached pic.
0 Kudos
Message 2 of 2
(2,968 Views)