#include #include #include int main() { time_t ts=time(NULL); struct tm* date = localtime (&ts); printf("Nous sommes le %d/%d/%d.\n",date->tm_year+1900,date->tm_mon,date->tm_hour); return 0; }