#include #include int main() { time_t now; now = time(NULL); // Get current time printf("Seconds since epoch: %ld\n", (long)now); return 0; }