using namespace std;
int main() {
time_t now;
struct tm * date;
time(&now);
date = localtime(&now);
cout << "Local time: " << asctime(date);
return 0;
}
// Note: This example displays the server's local time, which may differ from your local time.