LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to obtain seconds since 01/01/1904?

Hi there!
I'm currently working on implementing a scheduler. The idea is to create an array of clusters (each containing the time and action to take), keep the array sorted according to time and have a routine check periodically whether the current time is greater than the time in the array's first cell. It seems easiest to simply mark the time as <time elapsed since some certain point>, cause in this way I wouldn't have to worry about the date switching, hence my execution time (24:03) never being less than the current time (0:18). I just can't figure out how to read the time since 01/01/1904... "Get Date/Time In Seconds" only returns timestamp data types (which I can, of course convert to a cluster, unbundle and display nicely as seperate minutes, seconds, hours, but this is exactly what I do *not* want).

Any help would be greatly appreciated!

Kindest regards,
Severin
0 Kudos
Message 1 of 3
(4,196 Views)
Severin
 
You can convert timestamp to double.
 
 
 
David

Message Edited by David Crawford on 06-21-2006 05:30 PM

Message 2 of 3
(4,191 Views)
Jesus! That's almost too easy to believe. Thanks a lot!
0 Kudos
Message 3 of 3
(4,173 Views)