obten la fecha y hora actual en gt con una funcion
nclude <ctime> #include <iostream> using namespace std; int main() { time_t rawtime; struct tm * timeinfo; time (&rawtime); timeinfo = localtime (&rawtime); cout << asctime(timeinfo); return 0; } A: You can use the following code to get the current