LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RFC 3339 time format

Solved!
Go to solution

Hello everyone!
I get from some server time in string type, for examp "2017-11-17T23:36:05.188503497Z". I have found that it is RFC 3339 format. How can I convert it to LabView timestamp type?

0 Kudos
Message 1 of 3
(3,056 Views)
Solution
Accepted by topic author Tragen

TimeConversion.png

But, just be aware of system decimal separator (on my PC dot "." didn't work with the time string, b/c I have comma as separator).

0 Kudos
Message 2 of 3
(3,037 Views)

If you prepend the format string with %.; making it:

%.;%<%Y-%m-%dT%H:%M:%S%9uZ>T

then LabVIEW will always expect a decimal point, independent on your configured system locale.

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 3
(2,994 Views)