Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ modSetTime
Function
modSetTime
xs/platforms/pico/xsHost.c:250–256 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
248
}
249
250
void modSetTime(uint32_t seconds)
251
{
252
uint32_t ms;
253
ms = pico_milliseconds();
254
255
gTimeOfDayOffset = seconds - (ms / 1000);
256
}
257
258
void modSetTimeZone(int32_t timeZoneOffset)
259
{
Callers
1
doRemoteCommand
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected