File Creation, Last Write and Last Access time : File « Stream File « VB.Net Tutorial






Imports System.IO

Public Class Tester
    Public Shared Sub Main
    
         Console.WriteLine(File.GetCreationTime("test.vb"))

         Console.WriteLine(File.GetLastWriteTime("test.vb"))

         Console.WriteLine(File.GetLastAccessTime("test.vb"))

    End Sub

End Class
10/05/2007 5:05:34 PM
10/05/2007 8:20:48 PM
10/05/2007 8:20:44 PM








13.1.File
13.1.1.File Creation, Last Write and Last Access time
13.1.2.File Exists