May 2003
Intermediate to advanced
808 pages
32h 24m
English
tm struct — Represents the parts of a date and time
struct tm {
int tm_sec; /* Seconds: 0-61 */
int tm_min; /* Minutes: 0-60 */
int tm_hour; /* Hours: 0-24 */
int tm_mday; /* Day of month: 1-31 */
int tm_mon; /* Month: 1-12 */
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 Savings Time */
}The tm structure stores
parts of a date and time. It is the same structure definition as
that found in <ctime>. See
<ctime> for details.
tm struct in <ctime>
Read now
Unlock full access