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

Need Help?

Can't find what you're looking for? Join the Robotiq Community to get help from other users and the Robotiq team.

Was this article helpful?