From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert number to date & time in labview

Solved!
Go to solution

Hi all,

 

I have a hex string and am converting it to a number. Now this number I have to display it in timestamp format. Am using Unix time format. 

Using this link, I can convert that number to timestamp.  http://www.unixtimestamp.com/index.php

But how it is to be done in LabVIEW? I know it may be simple, but please help.

 

I am attaching my VI for referance.

 

Thanks,

Manisha

0 Kudos
Message 1 of 2
(3,444 Views)
Solution
Accepted by Man_Can

Hi Man_Can,

 

you could add the UNIX timestamp origin to your number:

check.png

Best regards,
GerdW


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