MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Time

Method Time

cpp/webdriver-server/logging.h:79–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 static std::string Time() {
80 struct timeb tb; ftime(&tb);
81
82 char time[26];
83 size_t length = strftime(time, sizeof(time), "%Y-%m-%d %H:%M:%S:",
84 localtime(reinterpret_cast<const time_t*>(&tb.time)));
85 sprintf(time + length, "%03u ", tb.millitm);
86
87 return time;
88 }
89
90 private:
91

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected