• This is what the WebIDE is gererating and sending if When sending code, set Espruino's clock to the current time is checked.

    var time = new Date();
    code = "setTime("+(time.getTime()/1000)+");E.se­tTimeZone("+(-time.getTimezoneOffset()/6­0)+")\n"
    

    How to implement this feature into the WebIDE as a standalone function witn an icon like Set Espruino Time?

About

Avatar for MaBe @MaBe started