tmbuf.tm_mday = day;
tmbuf.tm_mon = month-1;
tmbuf.tm_year = year - 1900;
tmbuf.tm_isdst = -1;
tmbuf.tm_isdst = 0;
return timegm (&tmbuf);
{
time_t x = mktime (&tmbuf);
return x + mktime (localtime (&x)) - mktime (gmtime (&x));
}