Hello,
I'm using the FileInfo object to get the last write time of the file to write on the web page. However, the date that I'm getting is 12/31/1600! My code is below:
Code:
Dim objInfo As New FileInfo(Request.Path)
Label1.Text = objInfo.LastWriteTime.ToShortDateString()
This code is defined in a class that all of the web pages inherit from. Any idea why it outputs the date as 12/31/1600?
Thanks,
Brian Mains