githubEdit

Get DateTime transform action

Use case

You would like to get the current date/datetime.

Overview

An image of the get datetime transform action in the actions menu in the workflow builder canvas.

Returns the current date/time in the requested timezone.

Parameters

Parameter
Description
Required

DateTime format to return

Use https://strftime.org/ for various options

Timezone to return

The timezone you would like to have the date returned in.

circle-info

Some timezone values are timezone naive, such as EST. Say you would like to use a timezone aware value. Following that example, you should use America/New_York or US/Eastern.

A good point of reference is: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Usage

chevron-rightExample: Get Current DateTime for US Easternhashtag

Inputs:

DateTime format to return: %Y-%m-%dT%H:%M:%SZ

Timezone to return: US/Eastern

Results output

Results of Example:

Last updated

Was this helpful?