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 do I retrieve the exact date/time from microsoft access in LabVIEW?

Solved!
Go to solution

Microsoft access stores date/time in the precision up to a second.

It doesn't store milliseconds.

 

Thus, when I retrieve date/time from access and convert it to LabVIEW timestamp,

The variant "2012-04-16 14:45:01"(without millisecond) retrieved from access database becomes 2012-04-16 14:45:00.999 in LabVIEW timestamp.

 

I don't know how to append .000 to the retrieved variant.

 

How can I prevent LabVIEW from subtracting 1 millisecond from the access date/time variant while converting it to LabVIEW timestamp?

 

 

0 Kudos
Message 1 of 2
(2,069 Views)
Solution
Accepted by topic author iCat

Duplicate Post

 

Please don't create a new message with the same question.  Especially when you are already being helped in the other thread.

0 Kudos
Message 2 of 2
(2,058 Views)