tm
Expand Minimize

tm structure

The tm structure contains a time stamp or counter.

Syntax


struct tm {
  int tm_sec;
  int tm_min;
  int tm_hour;
  int tm_mday;
  int tm_mon;
  int tm_year;
  int tm_wday;
  int tm_yday;
  int tm_isdst;
};

Members

tm_sec

Contains a value between 0 and 59 that indicates the number of seconds.

tm_min

Contains a value between 0 and 59 that indicates the number of minutes.

tm_hour

Contains a value between 0 and 23 that indicates the number of hours since midnight.

tm_mday

Contains a value between 1 and 31 that indicates the day of the month.

tm_mon

Contains a value between 0 and 11 that indicates the number of months since January.

tm_year

Indicates the number of years since 1900.

tm_wday

Contains a value between 0 and 6 that indicates the number of days since Sunday.

tm_yday

Contains a value between 0 and 365 that indicates the number of days since January 1.

tm_isdst

Indicates daylight savings time when TRUE and normal time when FALSE.

Requirements

Header

Hbaapi.h (include Hbaapi.h)

See also

HBA_LibraryAttributes

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft