I would like to compare 2 datetimes; datetime are in format MM/dd/yyyy HH:mm:ss.

DateTimes should be compared to minutes, excluding seconds.
E.g. 07/05/2006 09:30:30 and 07/05/2006 09:30:45, in this case dates are the same and times too (because I have excluded seconds in the comparing),
instead:
07/05/2006 09:30:30 and 07/05/2006 09:31:30 are different.

How can I do?

Thank