Extract part of a date transform action

Use Case

You have received a date in a response from an API, you are going to use this to dynamically specify the year in another request based on what was received in the response.

Overview

Given a date or date time string, extract a part of the date.

Parameters

Parameter
Description
Required

Date Time String

The original date time string to extract a part from.

Part to Extract

The part of the date to extract. Defaults to year.

Usage

Example 1: Extract the year from a date

Inputs: Date Time String: 2025-06-27T00:05:24.000 Part: Year (4 digits)

Example 2: Extract the day from a date

Inputs: Date Time String: 2025-06-27T00:05:24.000 Part: Day

Results output

Result from Example 1:

2025

Result from Example 2:

27

Last updated

Was this helpful?