# Date or Time

<figure><img src="/files/giOznyaqildcdRGbnDCn" alt="" width="563"><figcaption></figcaption></figure>

## **Purpose:**

This DocBits card checks if a specified date/time value falls within a defined range. It enables workflows to proceed or halt based on whether the condition is met, making it suitable for time-sensitive operations or scheduling workflows.

## **Functionality:**

* **Date/Time Validation:** This card evaluates whether a given date/time is within a specified range using the following conditions:
  * **Is:** Checks if the date/time is within the defined start and end range (inclusive).
  * **Is Not:** Ensures the date/time falls outside the defined range.

**Date/Time Range:** Users specify the start and end date/time values to define the range for comparison.

## **Usage:**

This card is ideal for scheduling, compliance checks, or validating time-based conditions in workflows. For example, it can be used to ensure tasks are executed only during predefined timeframes or verify deadlines.

## **Example Scenario:**

* A user configures the card to check if the **submission date** of an invoice **is between** **"2024-11-01"** and **"2024-11-30"**. If the submission date falls within this range, the workflow proceeds to payment processing. If not, the workflow triggers a notification for further review.

By using the "Date/Time Range Validation" card, organizations can ensure accurate scheduling, enhance compliance, and streamline workflows by adhering to predefined time constraints.


---

# 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.docbits.com/administration-and-setup/workflow/and/date-and-time/date-or-time.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.
