Admin Production ni-theme
Current Publication

Date and Time <time.h>

LabWindows/CVI

Date and Time <time.h> Class Help

This class contains functions to handle date and time operations including querying for time, making time conversions, and formatting time strings. The functions contained in this class are defined in the time.h header file. If you want an ASCII representation of the current date and time, you can use the following functions in the order shown:

  1. time—Get current calendar time.
  2. localtime—Convert calendar time to local time.
  3. asctime—Convert time struct to string.
  4. strftime—Format time string.

Library: ANSI C Library