How to: Determine a File's Creation Time in Visual Basic
You can use the CreationTime or the CreationTimeUtc property to get or set the last access time. CreationTimeUtc displays the time in Coordinated Universal Time (UTC). For more information, see Standard Date and Time Format Strings.
Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Visual Studio Settings.
To determine a file's creation time
Use the GetFileInfo method to return a FileInfo object for the file, which can be queried for information. This example gets a FileInfo object for Testfile.txt and uses the CreationTime property to display the creation time.