## DateTime::operator==(DateTime) const method


Determines if the current object and the specified [DateTime](../) object represent the same date and time value.

```cpp
bool System::DateTime::operator==(DateTime other) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | DateTime | The [DateTime](../) object to compare the current object with |

### ReturnValue

True if the current object and the specified object represent the same date and time value, otherwise - false

## See Also

* Class [DateTime](../)
* Class [DateTime](../)
* Namespace [System](../../)
* Library [Aspose.TeX for C++](../../../)
## DateTime::operator==(std::nullptr_t) const method




```cpp
bool System::DateTime::operator==(std::nullptr_t) const
```

## See Also

* Class [DateTime](../)
* Namespace [System](../../)
* Library [Aspose.TeX for C++](../../../)
