Would the last write time be appropriate? Not sure about a standard way, but
here's one way:
Private Sub Page_Load _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Dim path As String = Server.MapPath("web.config")
Dim fi1 As System.IO.FileInfo = _
Label1.Text = "Last update: " & _
fi1.LastWriteTime.ToLongDateString & _
" at " & fi1.LastWriteTime.ToLongTimeString
Does this help?
Microsoft MVPs have a question for *you*: Are you patched against the Worm?
"szabelin" <szabelinszabelin> wrote in message
hello, I need to display the last time the site was
updated: I am trying to get FileInfo from web.config and
get a last modified year of 1600.
How do I get this info, is there a standard way?