The time is:2007-5-23 14:52:44 now.
Still 435 days to the Beijing's Olympic Grames.
default.aspx
Still 435 days to the Beijing's Olympic Grames.
default.aspx
<%@page Language="c#" %>
<script language=c# runat=server>
void disp_time()
{
System.DateTime date1 = new System.DateTime(2008, 8, 1);
Response.Write("The time is:" + System.DateTime.Now.ToString() + " now.");
Response.Write("<br>");
Response.Write("Still " + (date1 - System.DateTime.Now).Days + " days to the Beijing's Olympic Grames.");
}
</script>
<html>
<head>
<title>2008年北京奥运会</title>
</head>
<body>
<% disp_time(); %>
</body>
</html>