---
title: " Get Current Date Step"
url: "https://docs.robotiq.ai/en/article/get-current-date-step"
language: "en"
last_updated: "2025-12-24T14:54:51.893Z"
---

#  Get Current Date Step

The Get Current Date step gets the current date or the current date and time. It saves this information in a datetime variable for your automation process. You can use this step to put timestamps on events, figure out how long things take, or record when certain actions happen.

## How to Use Get Current Date

Add this step to your process to grab the current date and time.

### Step 1: Add the Get Current Date Step

1.  Open your process in the Process Editor.
2.  Drag and drop the "Get Current Date" step from the available steps onto your canvas.

### Step 2: Configure the Step

1.  Click on the "Get Current Date" step to open its properties.
2.  (Optional) In the **Step name** field, give this step a custom name. This helps you find it in your process.

### Step 3: Define the Output Variable

1.  In the **Destination datetime** field, type the name of a variable.
2.  This variable needs to be a `datetime` data type.
3.  If the variable doesn't exist, Robotiq.ai will make it for you.
4.  The current date and time will be saved in this variable.

**Example:** You could name the variable `currentTimestamp` to save the exact moment the step runs.

## Parameters Explained

**Step name** (Optional)

-   A custom name for this step in your process.
-   **Example:** `Log_Start_Time`
-   Use this to make your process easier to understand.

**Destination datetime** (Required)

-   The name of the variable where the current date and time will be saved.
-   This variable must be a `datetime` type.
-   **Example:** `processStartTime`
-   This variable will hold the step's output.

## Related Articles

-   [Define Variable Step - Robotiq.ai](https://docs.robotiq.ai/en/article/define-variable-step)
-   [Set Variable Value Step - Robotiq.ai](https://docs.robotiq.ai/en/article/set-variable-value-step)
-   [Examples of use - Date and Time steps](https://docs.robotiq.ai/en/article/examples-of-use-date-and-time-steps)

## Need Help?

Can't find what you're looking for? Join the [Robotiq Community](https://community.robotiq.ai/home/) to get help from other users and the Robotiq team.

![](https://cdn-assets.productfruits.com/6447b910-f17e-43f7-ba2a-1cf51c6ddfae)
