#include <system.h>
Public Attributes | |
int | tm_sec |
int | tm_min |
int | tm_hour |
int | tm_mday |
int | tm_mon |
int | tm_year |
int | tm_wday |
Structure describing time and date.
This is a clone of struct tm
from time.h. We implement our own since not all systems provide time.h. This is not a one-to-one replacement of the tm
struct, as only the fields that we need were added.
tm
to ease the transition. int TimeDate::tm_sec |
Seconds (0 - 60).
int TimeDate::tm_min |
Minutes (0 - 59).
int TimeDate::tm_hour |
Hours (0 - 23).
int TimeDate::tm_mday |
Day of month (1 - 31).
int TimeDate::tm_mon |
Month of year (0 - 11).
int TimeDate::tm_year |
Year - 1900.
int TimeDate::tm_wday |
Days since Sunday (0 - 6).