// La funzione time() è definita nella libreria <time.h> del C e viene utilizzata
// principalmente per ottenere il tempo corrente in secondi trascorsi dall'Epoch,
// ovvero il 1° gennaio 1970 alle 00:00:00 UTC (tempo universale coordinato).
#include <stdio.h>
#include <time.h>
int main() {
time_t current_time;
current_time = time(NULL); //ottengo il tempo corrente
printf("tempo corrente in secondi dall'Epoch: %ld", current_time); //%ld per il current_time
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: