<%@ Register TagPrefix="Title" TagName="TitleShow" Src="/aspnetdata/Title.ascx" %>
<html>
<head>
	<script language="C#" runat="server">
	DateTime t=DateTime.Now;
	void Page_load(Object sender, EventArgs e){
		Page.DataBind();
	}
	string GetWriteDate(){
		DateTime k=Convert.ToDateTime("2002/02/05 00:00:00");
		TimeSpan p=t-k;
		return Convert.ToString(p.Days) + "天" + Convert.ToString(p.Hours) + "小时";
	}
	</script>
</head>
<body background="/aspnetdata/images/winback.gif">
<Title:TitleShow id="BookT" Runat="server" />
<form id="nform" runat="server">
目前日期及时间：<asp:Label id="NowTime" runat="server" Text=<%# t %>/><p>
与作者编写此书相差：<asp:Label id="NowTime1" runat="server" Text=<%# GetWriteDate() %>/>
<p>
    </form>

</body>
</html>