LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get date/time into seconds

Solved!
Go to solution

How can I get from block "get date/time" just seconds(all time in seconds)? I try conversation, display format; but can't get all time in seconds!!!

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 1 of 3
(2,220 Views)
Solution
Accepted by topic author hlod

Hi hlod,

 

here are two versions to get the seconds from the current timestamp:

check.png

The upper one just converts timestamp to seconds (since epoch), while the lower one gets the current "seconds" value from the timestamp. Next time you better explain what you want...

 

P.S.:

Who do you have "conversation" with? Smiley Wink

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,215 Views)

Thank you, I was thinking "convert" not conversation  🙂 

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 3 of 3
(2,191 Views)