A workaround could be:
var date = new Date(); var future = new Date(date.getFullYear(), date.getMonth(), date.getDate(), 12, 0, 0); console.log(future.toString());
Best
Tobias
@net-tobi 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.
A workaround could be:
Best
Tobias