日期和时间

代码:

<!DOCTYPE html>

<html>

<body>

 

Today's date is: <%response.write(date())%>.

<br>

The server's local time is: <%response.write(time())%>.

 

</body>

</html>

结果:

Today's date is: 10/30/2013.
The server's local time is: 8:49:51 PM.

相关文章