Get the Current Datetime Using the "Get Current Date" Helper

Keragon’s Get Current Date action allows you to dynamically retrieve the current date and time in your workflows. This is perfect for adding timestamps, logging events, calculating durations, and automating time-based processes.

How to Use the Get Current Date Helper

00:00: Get the current date and time in your work flows, by utilizing the get current 00:04: date action. 00:06: First. Go to your workflow editor. 00:09: Click the plus icon. 00:12: Access the helpers menu. 00:15: Access the date and time helpers option. 00:18: Choose to get current data action. 00:21: Set the transform value to format field. 00:25: Select the time zone in the convert value, to timezone field. 00:29: Save the changes made. 00:32: Click the test, step button. 00:35: Click the outputs Tab and view the generated date time. 00:39: This guy I'd walk you through incorporating time stamps and tarragon using 00:43: the get current date action.

  • Open your workflow editor.

  • Click the + icon to add a new step.

  • In the step selection panel, click "Helpers".

  • From the Helpers options, select "Date and Time Helpers".

  • Choose the "Get Current Date" action.

  • Set the Transform Value to Format field to define the output format for the date and time (Default: ISO8601).

    • Example Formats:

      • YYYY-MM-DD2024-07-05

      • LLLLFriday, July 5, 2024 2:00 PM

  • Set the Convert Value to Timezone field to select the desired timezone for the current datetime (Default: UTC).

  • Click "Save" to apply changes.

  • Click "Test Step" to preview the result.

  • Go to the Outputs tab to view the generated datetime.

Example Result:

  • Output: "2024-07-05T14:00:00Z"

Common Format Tokens for Output

Token Output Example Description
YYYY 2024 4-digit year
MM 07 Zero-padded month
DD 05 Zero-padded day
HH 14 Hour (24-hour format)
mm 00 Minutes
ss 00 Seconds
LLLL Friday, July 5, 2024 2:00 PM Full localized format

 

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more