Reqest和DateTime 方法易混方法整合

Request.ApplicationPath:/
Request.CurrentExecutionFilePath:/ie.aspx
Request.FilePath:/ie.aspx
Request.Path:/ie.aspx
Request.PathInfo:
Request.PhysicalApplicationPath:D:\工作文件\RockTools\UITools\
Request.PhysicalPath:D:\工作文件\RockTools\UITools\ie.aspx
Request.RawUrl:/ie.aspx
Request.Url.AbsolutePath:/ie.aspx
Request.Url.AbsoluteUri:http://172.22.58.98:7000/ie.aspx
Request.Url.Host:172.22.58.98
Request.Url.LocalPath:/ie.aspx
System.IO.Path.GetFileName(Request.Url.LocalPath):ie.aspx
ie.aspx
时间:
DateTime.Now.ToShortDateString():2010-4-9
DateTime.Now.ToLongDateString():2010年4月9日
DateTime.Now.ToShortTimeString():17:19
DateTime.Now.ToLongTimeString():17:19:17
DateTime.Now.ToString():2010-4-9 17:19:17

你可能感兴趣的:(DateTime)