# DATETIME\_EQUAL

### Description

`DATETIME_EQUAL` takes two datetime values and returns `true` if they refer to the exact same point in time, including the time component.

If you only need to compare calendar dates without a time component, use [`DATE_EQUAL`](/rule-language/operators/date-operators/date_equal.md).

### Example

```
DATETIME_EQUAL(NOW(), '2019-05-15T09:00:00+00:00')
```

This returns `true` only if the current date and time is exactly 15 May 2019 at 09:00 UTC.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.atfinity.io/rule-language/operators/date-operators/datetime_equal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
