MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / DateTime_CurrentLocal

Function DateTime_CurrentLocal

src/Platform_N64.c:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void DateTime_CurrentLocal(struct cc_datetime* t) {
83 rtc_time_t curTime = { 0 };
84 rtc_get(&curTime);
85
86 t->year = curTime.year;
87 t->month = curTime.month;
88 t->day = curTime.day;
89 t->hour = curTime.hour;
90 t->minute = curTime.min;
91 t->second = curTime.sec;
92}
93
94
95/*########################################################################################################################*

Callers 4

GetCurrentZipDateFunction · 0.70
LogCrashHeaderFunction · 0.70
AppendChatLogFunction · 0.70
Game_TakeScreenshotFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected