C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
tm Structure
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:  <time.h>
 
  Context:  asctime, localtime, gmtime, mktime, strftime
 
  Structure:
 
  struct tm
  {
      int tm_sec;    // Seconds after the minute - [0,59]
      int tm_min;    // Minutes after the hour - [0,59]
      int tm_hour;   // Hours since midnight - [0,23]
      int tm_mday;   // Day of the month - [1,31]
      int tm_mon;    // Months since January - [0,11]
      int tm_year;   // Years since 1900
      int tm_wday;   // Days since Sunday - [0,6]
      int tm_yday;   // Days since January 1 - [0,365]
      int tm_isdst;  // Daylight-saving-time flag
  };
                                    -♦-