How to embed Date and time in a web page? | SoloLearn: Learn to code for FREE!

0

How to embed Date and time in a web page?

I want to include a line wher I want to show date and time or only date in my web page. How to do that?

3/28/2017 3:41:10 AM

Prasannakumar naik

3 Answers

New Answer

+3

you need to use a programming or scripting language like JavaScript, java (jsp) or php. printing the current date and time on a web page is really simple with them. I recommend JavaScript although it uses the user's date/time, because it's easy to learn and easy to try/test.

+3

took a look at my profile I wrote a code for this

0

u can use simple JavaScript to show the date below is simple Code to display date and time. https://code.sololearn.com/W701FPhpYF0e/?ref=app