Sie sind auf Seite 1von 1

Practical 4 Aim: Develop a java script page which display current date, day and year.

<html> <head> <title>Date,Day and Year</title> </head> <body> <script type="text/javascript"> document.write("<p>"+Date()+"</p>"); </script> </body> </html>

Output:

Wed Feb 15 2012 11:58:17 GMT+0530 (India Standard Time)

Das könnte Ihnen auch gefallen