Professional Documents
Culture Documents
Tiempo
Tiempo
h>
#include <stdio.h>
#include <time.h>
"Jueves","Viernes","Sabado"};
cout << "hh:mm:ss " << tmP->tm_hour << ":" << tmP->tm_min << ":"
cout << "dd-mm-aaaa: " << tmP->tm_mday << "-" << (tmP->tm_mon+1) << "-"
cout << "Dia del año: " << tmP->tm_yday << endl;
cout << "Horario de verano: " << (tmP->tm_isdst ? "Si" : "No") << endl;
getchar();