> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/date-and-time/today.md).

# 今天

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-2cc881e572b7d39c737e00fe2a16bca93aa598b3%2Fimage%20(49).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

## **用途：**

此 DocBits 卡片将今天的日期与指定日期进行比较，使工作流能够根据当前日期与所提供日期之间的关系执行。它特别适用于基于时间的自动化、截止日期管理或触发计划任务。

## **功能：**

* **日期比较：** 此卡片根据以下条件将今天的日期与指定日期进行比较：
  * **等于 (=)：** 检查今天的日期是否与指定日期相同。
  * **不等于 (≠)：** 确认今天的日期与指定日期不同。
  * **大于 (>)：** 确认今天的日期晚于指定日期。
  * **大于或等于 (≥)：** 确认今天的日期为指定日期当天或之后。
  * **小于 (<)：** 检查今天的日期是否早于指定日期。
  * **小于或等于 (≤)：** 确认今天的日期为指定日期当天或之前。
* **日期输入：** 用户提供要与今天的日期进行比较的日期。

## **用法：**

此卡片适用于涉及截止日期、提醒或时间敏感条件的工作流，确保操作根据当前日期执行或受到限制。

## **示例场景：**

* 用户配置此卡片，检查**今天是否大于 (>)「2024-11-15」**。如果条件满足，工作流会触发一条针对逾期任务的后续通知；如果不满足，工作流会继续运行，不受影响。

通过使用“今日日期验证”卡片，组织可以自动化基于时间的流程，高效满足截止日期要求，并保持工作流准确性。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/date-and-time/today.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
