I'm a little confused...
Is 'new Date()' supposed to return the current DateTime like 'Thu Nov 07 2019 17:36:22 GMT+0200'?
Somehow I'm getting 'Thu Jan 1 1970 02:46:57 GMT+0000'
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.
Hi,
I'm a little confused...
Is 'new Date()' supposed to return the current DateTime like 'Thu Nov 07 2019 17:36:22 GMT+0200'?
Somehow I'm getting 'Thu Jan 1 1970 02:46:57 GMT+0000'
Am I missing something?
Thanks
Michael.