How do you display the current date in Javascript

Posted by Andre Scott | Updated on

You can use new Date() to generate a new Date object containing the current date and time. For example, let’s display the current date in mm/dd/yyyy


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers