The struct tm type contains a field for each part of a calendar date and time.
This function is compatible with the following targets:
|
|
#include <time.h>
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;
};
The tm structure members are listed "Tm Structure Members.".
NOTE
tm_isdst flag is positive if Daylight Savings Time is in effect, zero if it is not, and negative if such information is not available.
|
Field
|
Description
|
Range
min - max |