LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a VI to convert Time (in a string format) into a time stamp?

Is there a VI to convert Time (in string format) into a time stamp?  I know there is a Time stamp into date fomat VI, but I need the reverse.  This would be needed in order to calculate the time difference between two times.
 
Example:
Convert these strings into time stamps:
10/1/2007 8:42:01 PM
&
9/27/2007 7:39:00 AM
 
And then subtract the 2.
 
Javier
0 Kudos
Message 1 of 3
(3,075 Views)
Javier,

Use a Scan From String as follows:




Message Edited by Matthew Kelton on 10-01-2007 11:08 PM

Message 2 of 3
(3,068 Views)
OH....right...scan from string....I've just never tried tried that for a time stamp.  THANKS MATTHEW!!!  I really appreciate it.  I am gonna try it out right now.
 
Javier
0 Kudos
Message 3 of 3
(3,023 Views)