FileInfo displaying a peculiar date
Posted
by Berlioz
on Stack Overflow
See other posts from Stack Overflow
or by Berlioz
Published on 2010-05-19T13:44:37Z
Indexed on
2010/05/19
14:30 UTC
Read the original article
Hit count: 167
.NET
Why does the following display 12/31/1600 ???
Imports System.IO
Module Module1
Sub Main()
Dim fi As New FileInfo("DocFiles\phillips_phone_number.txt")
Console.WriteLine(fi.FullName)
Console.WriteLine(fi.LastAccessTime.ToShortDateString)
Console.ReadKey()
End Sub
End Module
© Stack Overflow or respective owner