17 using clock = std::chrono::system_clock;
18 const auto now = clock::now();
19 const auto nowTime = clock::to_time_t(now);
23 gmtime_s(&tm, &nowTime);
25 gmtime_r(&nowTime, &tm);
28 std::ostringstream out;
29 out << std::put_time(&tm,
"%Y-%m-%dT%H:%M:%SZ");