DateTime::Equals Method
.NET Framework (current version)
Returns a value indicating whether two DateTime objects, or a DateTime instance and another object or DateTime, have the same value.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(DateTime) | Returns a value indicating whether the value of this instance is equal to the value of the specified DateTime instance. |
![]() ![]() | Equals(DateTime, DateTime) | Returns a value indicating whether two DateTime instances have the same date and time value. |
![]() | Equals(Object^) | Returns a value indicating whether this instance is equal to a specified object.(Overrides ValueType::Equals(Object^).) |
Show:

