## DateTimeOffset::operator<(const DateTimeOffset\&) const method


Determines if the current object represents the date and time value that is earlier than the value represented by the specified [DateTimeOffset](../) object.

```cpp
bool System::DateTimeOffset::operator<(const DateTimeOffset &other) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | const DateTimeOffset\& | The [DateTimeOffset](../) object to compare the current object with |

### ReturnValue

True if the date and time value represented by the current object is earlier than the value represented by **other**, otherwise - false

## See Also

* Class [DateTimeOffset](../)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
## DateTimeOffset::operator<(std::nullptr_t) const method




```cpp
bool System::DateTimeOffset::operator<(std::nullptr_t) const
```

## See Also

* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
---
title: System::DateTimeOffset::operator> method
linktitle: operator>
second_title: Aspose.PUB for C++
description: 'System::DateTimeOffset::operator> method. Determines if the current object represents the date and time value that is later than the value represented by the specified DateTimeOffset object in C++.'
type: docs
weight: 4500
url: /cpp/system/datetimeoffset/operator_/
---
## DateTimeOffset::operator>(const DateTimeOffset\&) const method


Determines if the current object represents the date and time value that is later than the value represented by the specified [DateTimeOffset](../) object.

```cpp
bool System::DateTimeOffset::operator>(const DateTimeOffset &other) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | const DateTimeOffset\& | The [DateTimeOffset](../) object to compare the current object with |

### ReturnValue

True if the date and time value represented by the current object is later than the value represented by **other**, otherwise - false

## See Also

* Class [DateTimeOffset](../)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
## DateTimeOffset::operator>(std::nullptr_t) const method




```cpp
bool System::DateTimeOffset::operator>(std::nullptr_t) const
```

## See Also

* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
imeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
