LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert date to time stamp

I am opening an Excel sheet and extracting serial numbers and dates from it. The dates are coming in as a decimal number which is not converting into a time stamp I can use. A picture of my vi is attached. The yellow note on the front panel is the date in Excel that that number represents.

 

How do I fix this to be a time stamp?

 

Tay

0 Kudos
Message 1 of 4
(3,640 Views)

Never mind - it's an Excel cell formatting issue. Excel is displaying that number as a date. LabVIEW pulls in the number. Smiley Mad So I guess I'll be saving the original Excel file as a tab delimited text file as well, so I can use the date function.

 

Tay

0 Kudos
Message 2 of 4
(3,627 Views)
If you had searched the forum for 'excel date', you would have found a lot of references. This is one.
Message 3 of 4
(3,624 Views)

Yeah, I didn't think to search the LabVIEW forum for an Excel idiocy.

 

Tay

0 Kudos
Message 4 of 4
(3,605 Views)