#include <iostream>
#include <string>
#include <vector>
#include <iomanip>

int main() {
    auto currentTime = std::time(nullptr);
    auto currentTime2 = std::time(nullptr);
    
    std::stringstream ss;
    std::stringstream ss2;

    ss << std::put_time(std::localtime(&currentTime), "%Y-%m-%dT%H:%M:%S %z %Z");
    ss2 << std::put_time(std::gmtime(&currentTime2), "%Y-%m-%dT%H:%M:%S %z %Z");
    std::cout << " time now local = " << ss.str() << std::endl;
    std::cout << " time now gm    = " << ss2.str() << std::endl;
}