第1个回答 2006-04-09
请先看以下示例:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="长风网络,SailSoft.Net">
</HEAD>
<BODY>
<SCRIPT LANGUAGE="VBScript">
document.write FormatDateTime(now,0) & " —— 0" & "<BR>"
document.write FormatDateTime(now,1) & " —— 1" & "<BR>"
document.write FormatDateTime(now,2) & " —— 2" & "<BR>"
document.write FormatDateTime(now,3) & " —— 3" & "<BR>"
document.write FormatDateTime(now,4) & " —— 4" & "<BR>"
</SCRIPT>
</BODY>
</HTML>