The File.LastModified property gives the time that the file was last modified (or created, if unmodified) to the millisecond, so no need to convert it to minutes and seconds - just compare the values for the two files.
[By the way, if you need to compare a file modified time with the time of a file uploaded to a net location then you need to correct to UTC.]