javascript function
How to write a javascript function to display current date and time?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.



Using new Date(), creates a new date object with the current date and time:
"demo"
>
Amit KumarPosted Oct 16, 2020, 2:07 PM
Farhan AhmedPosted Oct 19, 2020, 2:37 AM