#include <iostream>
#include <ctime>

int main() {
    std::time_t now = std::time(0); // دریافت زمان جاری
    std::tm* localTime = std::localtime(&now); // تبدیل به تاریخ و زمان محلی
    std::cout << "Current Date and Time: "
              << 1900 + localTime->tm_year << '-'
              << 1 + localTime->tm_mon << '-'
              << localTime->tm_mday << " "
              << 1 + localTime->tm_hour << ":"
              << 1 + localTime->tm_min << ":"
              << 1 + localTime->tm_sec << std::endl;
    return 0;
}