Example Code

Convert Time/Date String to Time Stamp

Code and Documents


The main vi, time.vi, creates a time stamp and converts it to a time/date string in the %c format. The subvi, Convert String to Time Stamp.vi, converts the string back to a time stamp by parsing the string and bundling the string to be converted.

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