LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

whats the best way to convert a string into datetime?

hello,

whats the best way to convert a string into datetime?
0 Kudos
Message 1 of 4
(3,024 Views)
Parse it and rebuild using the time cluster. Here's a VI that's part way there. You can modify it to suit your needs.

___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(3,022 Views)
Hello,

to use the upper example, you have to use a string in the field "time format string" like this: "%S%m%H%d%m%y"
0 Kudos
Message 3 of 4
(3,004 Views)
Also, keep in mind that it's nowhere near finished.
I only posted it to demonstrate the concept.
Here's another version with a few bugs removed.

___________________
Try to take over the world!
0 Kudos
Message 4 of 4
(2,998 Views)