Wiki »
auto now = std::chrono::system_clock::now(); size_t utc = now.time_since_epoch().count(); char utc_cstr[128]; sprintf(utc_cstr, "%zd\n", utc ); _json["utc"] = utc_cstr;