#include <vector>
#include <string>
#include <iostream>
#include <ctime>
int main()
{
char buff[20];
time_t timestamp = 1469870826;
std::strftime(buff, sizeof(buff), "%Y:%m:%d %H:%M:%S", std::localtime(×tamp));
std::string timeStr(buff);
std::cout << "time = " << timestamp << " | " << timeStr << std::endl;
}
I2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3RpbWU+CgppbnQgbWFpbigpCnsKICAgY2hhciBidWZmWzIwXTsKICAgdGltZV90IHRpbWVzdGFtcCA9IDE0Njk4NzA4MjY7CiAgIHN0ZDo6c3RyZnRpbWUoYnVmZiwgc2l6ZW9mKGJ1ZmYpLCAiJVk6JW06JWQgJUg6JU06JVMiLCBzdGQ6OmxvY2FsdGltZSgmdGltZXN0YW1wKSk7CiAgIHN0ZDo6c3RyaW5nIHRpbWVTdHIoYnVmZik7CgogICBzdGQ6OmNvdXQgPDwgInRpbWUgPSAiIDw8IHRpbWVzdGFtcCA8PCAiIHwgIiA8PCB0aW1lU3RyIDw8IHN0ZDo6ZW5kbDsKfQo=