From the description:
Quote:
Broken-down time is stored in the structure tm which is defined in <time.h> as follows:
Code:
struct tm {
int tm_sec; /* seconds */
int tm_min; /* minutes */
int tm_hour; /* hours */
int tm_mday; /* day of the month */
int tm_mon; /* month */
int tm_year; /* year */
int tm_wday; /* day of the week */
int tm_yday; /* day in the year */
int tm_isdst; /* daylight saving time */
};
|
As you see, the variables are of type int, which means you can store them as int's in yoru array, or if you want to have it in the printet format like
HHMM and
DDMMYY then you can store them as strings, by gathering the int's into a string and store that in your array.