LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to write a heartbeat program which takes the current time and writes

I am trying to write a VI that gets the current time and writes it to an XML file in this format.  YYYY-MM-DDThh:mm:ss[.s][Z|(+|-)hh:mm]

 

I cant seem to get the operators on the format date/time string vi to work for concatenating the "-" between the year and month

 

Anybody know how to do this one?

0 Kudos
Message 1 of 3
(2,410 Views)

You should not need to use special operaors for the format date/time string, the format should simply be"%Y-%m-%d"

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

thanks

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