Level 2
var today = new Date();
alert(today);
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello ,
I'm wondering how to convert the current date to this format (possible also in moment.js) :
native Date Fri Nov 13 2020 11:28:00 GMT+0100 (Central European Standard Time)
Thanks
Please or to participate in this conversation.