Format date time transform action
Use case
You have received a date time string representation from an API, you would like to utilize this value in another API, however the new API expects it to be in a certain date format.
Overview
Given a date or date time string, format it to a different date time string. Custom input can be used, please refer to https://strftime.org/ for the format string options.
Parameters
Date Time String
The original date time string that needs formatted differently.
Day First
Whether to interpret the first value in an ambiguous 3-integer date (e.g. 01/05/09) as the day (True) or month (False). If yearfirst is set to True, this distinguishes between YDM and YMD. If set to None, this value is retrieved from the current parserinfo object (which itself defaults to False).
Year First
Whether to interpret the first value in an ambiguous 3-integer date (e.g. 01/05/09) as the year. If True, the first number is taken to be the year, otherwise the last number is taken to be the year. If set to None, this value is retrieved from the current parserinfo object (which itself defaults to False).
Fuzzy Parsing
Whether to allow fuzzy parsing, allowing for string like "Today is January 1, 2047 at 8:21:00AM"
Ignore Timezone
If set True, time zones in parsed strings are ignored and a timezone naive datetime object is returned.
Desired String Format
Defaults to YYYY-MM-DDTHH:MM:SSZ if left empty.
Usage
Results output
Example output from Example 1:
Last updated
Was this helpful?