Date and time.

Getting time and date from the system.

time ,localtime,asctime

See version :

Pas de dépendances

Download :

#include <stdio.h>
#include <time.h>

int main()
{
    time_t timer;
    struct tm * structtimer;
    time(&timer);
    structtimer = localtime(&timer);
    printf("Date et heure : %s", asctime (structtimer));
    return 0;
}




Explanations

	No explanations yet.