Avatar of xizor
Flag for Australia

asked on 

Compare Date/Time to find newer

I want to check if a file is newer then another version of the same file.

using the System.IO.File.GetLastWriteTime I get results like the following:

FILE 1 -  #3/3/2009 9:00:48 PM#
FILE 2 -  #3/3/2009 8:39:40 PM#

What would be the best way in code to determine which file is newer?

Visual Basic.NET.NET Programming

Avatar of undefined
Last Comment

8/22/2022 - Mon