When you request a webpage from a webserver, the headers contain the current date and time - which can be parsed directly by Date - that should make getting the time much easier.
1v71 will have some changes so that it remembers the current time after a hard reset (only forgetting it when powered off). That should make keeping time a lot easier, as assuming you keep a battery connected it'll always remember the correct time once you've programmed it,
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
When you request a webpage from a webserver, the headers contain the current date and time - which can be parsed directly by
Date
- that should make getting the time much easier.1v71 will have some changes so that it remembers the current time after a hard reset (only forgetting it when powered off). That should make keeping time a lot easier, as assuming you keep a battery connected it'll always remember the correct time once you've programmed it,