I am seeing that it is as easy as adding to .toString() to get the format xxx Feb xx 2023 h:mm:ss GMT+0100
console.log("pressDate "+pressDate.toString());
for some reason when using the Date.now() the to String was implicit
@dapgo 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.
I am seeing that it is as easy as adding to .toString() to get the format xxx Feb xx 2023 h:mm:ss GMT+0100
console.log("pressDate "+pressDate.toString());
for some reason when using the Date.now() the to String was implicit