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
-
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-DD
→2024-07-05
-
LLLL
→Friday, 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 |