/* This file simply returns number of seconds since epoch in UTC */ #include #include int main() { time_t now = time(NULL); printf("%li\n", mktime(gmtime(&now))); return 0; }