schmikes
11-03-2003, 02:07 AM
<html><head><title>Time 5</title>
</head><body><script language="javascript">
<!--
dt=new Date()
document.write("dt.getYear()<br>")
document.write("dt.getMonth()+1 <br>")
document.write("dt.getHours() <br>") //returns the hours of the Date object
document.write("dt.getDate() <br>") //returns the day of the month of the Date object
document.write("dt.getMinutes() <br>")
//-->
<body></body></html>
are there any problems? it just show nothing~
please help!
Thanks!
</head><body><script language="javascript">
<!--
dt=new Date()
document.write("dt.getYear()<br>")
document.write("dt.getMonth()+1 <br>")
document.write("dt.getHours() <br>") //returns the hours of the Date object
document.write("dt.getDate() <br>") //returns the day of the month of the Date object
document.write("dt.getMinutes() <br>")
//-->
<body></body></html>
are there any problems? it just show nothing~
please help!
Thanks!