time now C code example Example: time now c #include <time.h> time_t now = time(0); // Get the system time