How to get the current date using JavaScript

No Comments

This can be obtained by using the Pre-defined object (Date) in JavaScript

Example:

document.write("The current date is:"+Date())
Last Updated On March 20, 2018

Leave a Reply

avatar
  Subscribe  
Notify of
Menu