/* This function returns the time since 00:00:00 UTC, January 1, 1970 (Unix timestamp) in seconds */ #include <time.h> time_t now = time(0); // Or time_t now; time(&now);