Just tried the inline
VB code:
Protected Sub DateLabel4_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Dim FileDate As DateTime
FileDate = System.IO.File.GetLastWriteTime("\\sca4001\DARS DDS\Home.aspx")
DateLabel4.Text = FileDate.ToString(": MM/dd/yyyy")
End Sub
sca4001 is my other server. Many times, including the local server,
the FileDate seemed to be working, but the label date was 12/31/1600.
What does 12/31/1600 mean? The coding was correct, but the ToString was wrong? Or the FileDate is still wrong, so the filedate is empty?
TIA,
Jeffrey