LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamp to seconds

Hi all,

in order to send time data to DIAdem I have to add a numeric value (60084266400) to the number of seconds passed since 01.01.1904 12:00:00, where LabVIEW starts counting.
I assumed that the "Date/Time To Seconds.vi" or "Get Date/Time In Seconds.vi" should output a numeric value (the number of seconds), but they produce another timestamp.
If using "To Double Precision Float.vi", you lose a lot of seconds due to lower precision.
Any suggestions?

Regards,

Andreas
0 Kudos
Message 1 of 3
(3,338 Views)
Hello Andreas,

according to my example, I don't loose any precision. Even when I add your value (60084266400) to the timestamp value.

Best regards,
Gerd
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(3,338 Views)
Thanks, Gerd

I figured it out now...

Andreas
0 Kudos
Message 3 of 3
(3,338 Views)