LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamp Representation

 

According to this (link), a timestamp is actually a cluster of two I-64 integers.  Is there a way to extract these integers from the timestamp without converting to a double taking the integer and decimal part of the result?

 
0 Kudos
Message 1 of 6
(3,255 Views)
The easiest should be typecasting, but I'm not sure whether typecasting to a cluster of 2 I64s will work. You might need 4 I32 and then play around with a bit using join, etc. Unfortunately, I can't check at the moment.

___________________
Try to take over the world!
0 Kudos
Message 2 of 6
(3,251 Views)
This is what you get using the TypeCast method:



Message Edited by smercurio_fc on 08-12-2008 05:07 PM
0 Kudos
Message 3 of 6
(3,240 Views)

Hi,

 

I am trying to use a similar method to save data as fast as possible without having to convert into string first.. So, how does one get from the 3301423454.70794773 double precision number to the original timestamp Time/Date???

 

Many thanks,

Harry

0 Kudos
Message 4 of 6
(3,017 Views)

The numeric conversion palette has a To Time Stamp primitive.


___________________
Try to take over the world!
0 Kudos
Message 5 of 6
(3,007 Views)

tst,

 

I realised that soon after I posted the question, but still thanks for the reply..

 

Harry

0 Kudos
Message 6 of 6
(2,960 Views)