MCPcopy Create free account
hub / github.com/cppla/ServerStatus / tm

Class tm

server/src/main.cpp:26–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 if(!p) return 0;
25 p += 9;
26 struct tm tmv; memset(&tmv,0,sizeof(tmv));
27 char month[4]={0};
28 int day, hour, min, sec, year;
29 if(sscanf(p, "%3s %d %d:%d:%d %d GMT", month, &day, &hour, &min, &sec, &year)!=6) return 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected