#include <iostream>
#include <ctime> // ******* C++ header for std::gmtime() etc.
int main()
{
std::time_t now = std::time(nullptr) ;
// make a copy of the std::tm
std::tm modified_time = *std::gmtime( &now ) ;
// modify the copy as you please
modified_time.tm_sec = 0 ; // set seconds to zero
modified_time.tm_year += 6 ; // move to six years later
// etc...
std::cout << "UTC: " << std::asctime( &modified_time ) ;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3RpbWU+IC8vICoqKioqKiogQysrIGhlYWRlciBmb3Igc3RkOjpnbXRpbWUoKSBldGMuCgppbnQgbWFpbigpCnsKICAgIHN0ZDo6dGltZV90IG5vdyA9IHN0ZDo6dGltZShudWxscHRyKSA7CgogICAgLy8gbWFrZSBhIGNvcHkgb2YgdGhlIHN0ZDo6dG0KICAgIHN0ZDo6dG0gbW9kaWZpZWRfdGltZSA9ICpzdGQ6OmdtdGltZSggJm5vdyApIDsKCiAgICAvLyBtb2RpZnkgdGhlIGNvcHkgYXMgeW91IHBsZWFzZQogICAgbW9kaWZpZWRfdGltZS50bV9zZWMgPSAwIDsgLy8gc2V0IHNlY29uZHMgdG8gemVybwogICAgbW9kaWZpZWRfdGltZS50bV95ZWFyICs9IDYgOyAvLyBtb3ZlIHRvIHNpeCB5ZWFycyBsYXRlcgogICAgLy8gZXRjLi4uCgogICAgc3RkOjpjb3V0IDw8ICJVVEM6ICIgPDwgc3RkOjphc2N0aW1lKCAmbW9kaWZpZWRfdGltZSApIDsKfQo=