Thanks, it works
console.log(timeN); ('0'+d.getHours()).substr(-2):('0'+d.getMinutes()).substr(-2):('0'+d.getSeconds()).substr(-2)
@MaBe started
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.
Thanks, it works