LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TEDS date

Hello everebody...

I recently fixed a bug a had with the date when i wrote it to a TEDS:
Every date was written with a day less than specified, ex: I typed 23/03/2006 and it wrote 22/03/2006. And this was the case for every date in the TEDS range.

My solution is that I had to inject a specific time to the date. I saw that when a TEDS date is read, the time is 18:00:00,000, so I force 18:00:00 into the date cluster.

The conversion with my date, whose time was something between 8:30:00,000 and 16:30:00,000 did take a day back. Why? I don't know. I imagin some problem with my timezone (Brussels) and that from NI, or because LabVIEW date is the number of seconds past since 1/1/1904 0:0:0,000 and the TEDS date is the number of days passed since 1/1/1998.

Since the bug is fixed, I don't need any help for this topic, nut I thought I might post it, this problem could occur to someone else...

Thanks for reading...
0 Kudos
Message 1 of 1
(2,108 Views)