Skip to content
Discussion options

You must be logged in to vote

I'm afraid there's nothing built-in. The emulator uses Date.now() (https://github.com/espruino/Espruino/blob/master/targets/emscripten/jshardware.c#L136) so either you could change your PC's time settings, or in the browser's JS console you could override the browser's Date.now implementation:

Date._now = Date.now; Date.now = () => Date._now()+100000;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mdoggydog
Comment options

Answer selected by mdoggydog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants