LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert Windows-based time count (milliseconds since 1601) to LabVIEW based time count (since 1903)

In fact I need to know the milliseconds differences between the two date.

Thanks a lot
0 Kudos
Message 1 of 3
(4,013 Views)
Cymon wrote in message news:<5065000000080000003E610000-1031838699000@exchange.ni.com>...
> How to convert Windows-based time count (milliseconds since 1601)

I always thought that the Windows-based time count was milliseconds
since midnight January 1, 1970.

> to LabVIEW based time count (since 1903)
>
> In fact I need to know the milliseconds differences between the two
> date.

If you need to go back to 1601, as you suggest, there is a big problem.
England and the colonies used the Julian calendar back then. We now use
the Gregorian calendar. In addition, the English new year was on March 25,
not January 1. Depending upon your usage you could have a 9 month error.
I would suggest converting your time count into years to verify what the
source r
eally is. If timecount/1000/60/60/24/365.25 is only 32.xx then it's
milliseconds from 1970.

Les Hammer
Message 2 of 3
(4,013 Views)
You may want to take a look at this Knowledge Base. They talked about some similar issues and it may help you out. Also, I agree with Les Hammer in terms of the base time. I thought it was 1970 also, though I could be wrong.
J.R. Allen
0 Kudos
Message 3 of 3
(4,013 Views)