0
GGGiovanny Gongora
Display the current weekday
0 Comments
#include <iostream> #include <ctime> time_t t = time(NULL); tm* timePtr = localtime(&t); cout << "weekday = " << (timePtr->tm_wday )<< endl;