LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading TimeStamp from Excel sheet

Solved!
Go to solution

Hi everyone, I am trying to get data from an Excel sheet to LabVIEW but I get the value of Timestamp as number, 45111.

I usually faced this when I open a CSV-File in Excel.

I tried to select/deselect 'Use 1904 date system in Excel' but nothing happened

Maybe someone can help?

 

Attached is a screenshot of my code and Excel sheet

 

Thank you

Sinan Ismael.

 

 

 

Excel sheet.pngLabVIEW Block Diagram.png

0 Kudos
Message 1 of 4
(769 Views)

See Formatting LabVIEW Date and Time Data for Microsoft Excel

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 4
(756 Views)
Solution
Accepted by topic author sinan.ismael@rub.de

Check this post, how to convert Excel date into LabVIEW date formats.

 

They use different date systems. 

 

LabVIEW to Excel (there is some explanation) https://forums.ni.com/t5/Example-Code/Convert-Excel-Time-to-LabVIEW-Time/ta-p/3996348

Excel to LabVIEW - https://forums.ni.com/t5/Example-Code/Convert-Excel-Time-to-LabVIEW-Time/ta-p/3996348

0 Kudos
Message 3 of 4
(745 Views)

Ok thank you.

 

I hv to read the timestamp as float.

0 Kudos
Message 4 of 4
(704 Views)