ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time format code

hi
how do i set the time format code to give milliseconds? if i use %s i get seconds, %M i get minutes etc.
thanks
0 Kudos
Message 1 of 5
(3,459 Views)
The general format is %u as you have but you need to replace with an actual number. The number is the precision you want.
0 Kudos
Message 2 of 5
(3,458 Views)
hi
i changed it to %<3>u but it only displayed <3>U
0 Kudos
Message 3 of 5
(3,452 Views)
What I meant to say was the %u was the general format and you replace with a number. Do not use < or > in your format string. %3u is what you want to use.

Message Edited by Dennis Knutson on 03-08-2005 10:45 AM

0 Kudos
Message 4 of 5
(3,450 Views)
thanks
working perfectly!
0 Kudos
Message 5 of 5
(3,442 Views)