Hi,
If you are looking to check file times you are probaly better
off using this.
I dont think you care if the hours, mins, and seconds are the same.
If CurrentFileDate.ToShortDateString <> InstallFiledate.ToShortDateString
Then
End If
Ken
-------------
"Lou" <lo********@comcast.net> wrote in message
news:uL**************@TK2MSFTNGP09.phx.gbl...
How do I check if one date variable is the same as another date variable
eg;
If CurrentFileDate <> InstallFiledate Then
End If
this doesn't work?