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.

Example Code

Formatting the Date/Time String Function to Analyze Time Stamps

Code and Documents

Attachment

This example shows how the Format Date/Time String function operates with different inputs.

Run the example and examine each tab. To change the time and date, click the arrows to the left of the Time/Date text box or click the Time/Date Browse button to the right of the Time/Date text box.

Refer to the LabVIEW Help topic Format Codes for the Time Format String for more formatting strings.

Date-time-front-panel.png

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
o.fujioka
NI Employee (retired)
on

NIce VI to demonstrate each formatting. 

Thanks for uploading!

Contributors