equal
deleted
inserted
replaced
259 broken_down_time.tm_min = 0; |
259 broken_down_time.tm_min = 0; |
260 broken_down_time.tm_hour = 0; |
260 broken_down_time.tm_hour = 0; |
261 broken_down_time.tm_mday = day; /* day of month, from 1 to 31 */ |
261 broken_down_time.tm_mday = day; /* day of month, from 1 to 31 */ |
262 broken_down_time.tm_mon = month - 1; /* month since January, in the range 0 to 11 */ |
262 broken_down_time.tm_mon = month - 1; /* month since January, in the range 0 to 11 */ |
263 broken_down_time.tm_year = year - 1900; /* number of years since 1900 */ |
263 broken_down_time.tm_year = year - 1900; /* number of years since 1900 */ |
|
264 broken_down_time.tm_isdst = 0; /* disable daylight savings time */ |
264 |
265 |
265 epoch_seconds = mktime(&broken_down_time); /* determine number of seconds since the epoch, i.e. Jan 1st 1970 */ |
266 epoch_seconds = mktime(&broken_down_time); /* determine number of seconds since the epoch, i.e. Jan 1st 1970 */ |
266 if ((time_t)(-1) == epoch_seconds) |
267 if ((time_t)(-1) == epoch_seconds) |
267 __iec_error(); |
268 __iec_error(); |
268 |
269 |