Use namespace System.IO
VB.NET
dim path as string = Server.MapPath('page1.aspx')
Response.Write ( File.GetLastWriteTime(path))
C#
string path =Server.MapPath('page1.aspx');
Response.Write ( File.GetLastWriteTime(path));
Use namespace System.IO
VB.NET
dim path as string = Server.MapPath('page1.aspx')
Response.Write ( File.GetLastWriteTime(path))
C#
string path =Server.MapPath('page1.aspx');
Response.Write ( File.GetLastWriteTime(path));
Share with