MCPcopy Create free account
hub / github.com/WinMerge/winmerge / GetCurrentTimeString

Function GetCurrentTimeString

Src/DirCmpReport.cpp:30–37  ·  view source on GitHub ↗

* @brief Return current time as string. * @return Current time as String. */

Source from the content-addressed store, hash-verified

28 * @return Current time as String.
29 */
30static String GetCurrentTimeString()
31{
32 time_t nTime = 0;
33 time(&nTime);
34 _int64 nTime64 = nTime;
35 String str = locality::TimeString(&nTime64);
36 return str;
37}
38
39/**
40 * @brief Format string as beginning tag.

Callers 3

GenerateHeaderMethod · 0.85
GenerateXmlHeaderMethod · 0.85

Calls 1

TimeStringFunction · 0.85

Tested by

no test coverage detected