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


确定当前对象表示的日期和时间值是否早于或等于指定的 [DateTime](../) 对象所表示的值。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| other | DateTime | 用于与当前对象比较的 [DateTime](../) 对象 |

### ReturnValue

如果当前对象表示的日期和时间值早于或等于 **other** 所表示的值，则为 true；否则为 false。

## 另见

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




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

## 另见

* Class [DateTime](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
---
title: System::DateTime::operator>= 方法
linktitle: operator>=
second_title: Aspose.Page for C++
description: 'System::DateTime::operator>= 方法。确定当前对象在 C++ 中表示的日期和时间值是否晚于或等于指定的 DateTime 对象所表示的值。'
type: docs
weight: 4100
url: /cpp/system/datetime/operator_=/
---
## DateTime::operator>=(DateTime) const method


确定当前对象表示的日期和时间值是否晚于或等于指定的 [DateTime](../) 对象所表示的值。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| other | DateTime | 用于与当前对象比较的 [DateTime](../) 对象 |

### ReturnValue

如果当前对象表示的日期和时间值晚于或等于 **other** 所表示的值，则为 true；否则为 false。

## 另见

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




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

## 另见

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