Lines Matching refs:now
48 std::ostringstream now;
49 now << FixedTime(utcTime.tm_year + BASE_YEAR, fixedTimeWidth4);
50 now << "-";
51 now << FixedTime(utcTime.tm_mon + 1, fixedTimeWidth2);
52 now << "-";
53 now << FixedTime(utcTime.tm_mday, fixedTimeWidth2);
54 now << "T";
55 now << FixedTime(utcTime.tm_hour, fixedTimeWidth2) ;
56 now << ":";
57 now << FixedTime(utcTime.tm_min, fixedTimeWidth2);
58 now << ":";
59 now << FixedTime(utcTime.tm_sec, fixedTimeWidth2);
60 now << ".";
61 now << FixedTime(msTime % MILLISECOND_PERSECOND, fixedTimeWidth3);
62 return now.str();
80 std::chrono::system_clock::time_point now = std::chrono::system_clock::now();
81 std::chrono::milliseconds millsec = std::chrono::duration_cast<std::chrono::milliseconds>(now.time_since_epoch());
84 now = std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds>(millsec);
85 auto time = std::chrono::system_clock::to_time_t(now);