Display Current Time in LabVIEW VI

Updated Jul 22, 2019

Reported In


  • LabVIEW

Issue Details

  • I would like to display the current time in my LabVIEW VI.
  • How do I create a software-timed millisecond timestamp in LabVIEW?


Connect the Get Date/Time In Seconds VI in LabVIEW to a time stamp indicator as shown below:
You can also format the Date/Time as a string, however the default output for the Format Date/Time String function does not include milliseconds. To include the milliseconds, the time format string input must be changed from its default value. The default timestamp format is %m/%d/%Y%H:%M:%S. 

To include millisecond values append %3u to the end of the string. The resulting string is: