From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Time formating

Hi everybody

I have a simple question
the time values in diadem have the long format  621496551891.12, I used the following command
RTT(621496551891.12, "#hh:nn:ss")  and I got the  soemthing like this  12:23:45   (the actual values are not important )  but i wan to get more precision or exactness , for example i am missing the .12   ,  how should i format the date to get  12:23:45.12, I mean How should it be the "#....." instruction ?


Thanxs in Advance


0 Kudos
Message 1 of 2
(2,865 Views)
Hi Arkangel,

Please try this here: RTT(621496551891.12, "#hh:nn:ss.fff")

Greetings
Walter
0 Kudos
Message 2 of 2
(2,862 Views)