#include #include using namespace std; int main() { time_t internalTime = time(NULL); tm* currTime = localtime(&internalTime); cout << "The current time is " << currTime->tm_hour << ":" << currTime->tm_min << ":" << currTime->tm_sec << endl; cout << "Today is " << currTime->tm_mday << "/" << currTime->tm_mon+1 << "/" << 1900+currTime->tm_year << endl; return 0; }