4 * Maciej 'YTM/Elysium' Witkowiak, 22.11.2002
12 struct tm currentTime;
14 currentTime.tm_sec = system_date.s_seconds;
15 currentTime.tm_min = system_date.s_minutes;
16 currentTime.tm_hour = system_date.s_hour;
17 currentTime.tm_mday = system_date.s_day;
18 currentTime.tm_mon = system_date.s_month;
19 currentTime.tm_year = system_date.s_year;
20 if (system_date.s_year < 87) {
21 currentTime.tm_year+=100;
23 currentTime.tm_isdst = -1;
25 return mktime(¤tTime);