#include #include #include int main(void) { time_t stamp = time(NULL); struct tm* temps = localtime(&stamp); printf("Nous sommes le : %4d-%02d-%02d\n", temps->tm_year + 1900, temps->tm_mon + 1, temps->tm_mday); }