Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

JS - Show current date with new Date()

0 votes
added 5 days ago in Javascript by LC Marshal Lieutenant (16,990 points)
let now = new Date();
alert( now ); // shows current date/time


Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.