Skip to content
Workflows

Workflow Action - Dare/Time Formatter

TABLE OF CONTENTS Overview Action Name Action Description Action Details Example Overview The Date/Time Formatter action allows you to format and compare…

2 min read551 words3 explained imagesUpdated Sat, 7 Sep, 2024 at 5:59 AM
View as markdownOpen in ClaudeOpen in ChatGPT
Each image has a one line explanation. Switch to full detail for the step it belongs to, the fields and buttons involved, examples and the whole procedure.
On this page
  1. Overview
  2. Action Name
  3. Action Description
  4. 1. Format Date
  5. 2. Format Date and Time
  6. 3. Compare Dates
  7. Action Details
  8. Format Date
  9. Action Details
  10. Example Workflow:
  11. Trigger: Form Submission
  12. Format Date and Time
  13. Action Details
  14. Example Workflow:
  15. Trigger: Appointment Created
  16. Compare Dates
  17. Action Details
  18. Example Workflow:
  19. Trigger: Event Registration
  20. Date and Time Format Supported

TABLE OF CONTENTS

Overview

The Date/Time Formatter action allows you to format and compare date fields within workflows. This action helps transform or evaluate dates to better suit specific conditions or outputs.

Action Name

Date/Time Formatter

Action Description

1. Format Date

  • Description: This action converts a date field from one format to another within a workflow. For example, you can convert a date from "MM/DD/YYYY" to "YYYY-MM-DD" to standardize dates for consistent reporting or communication.

  • Use Case: Useful when you need to ensure a uniform date format across various systems or reports.

2. Format Date and Time

  • Description: This action converts both date and time fields from one format to another. This action is especially useful for timestamps that include both date and time components.

  • Use Case: Great for workflows that deal with appointments or timestamps, where both date and time need to be reformatted.

3. Compare Dates

  • Description: This action compares two dates and evaluates which date is earlier, later, or whether the dates are equal. This can be used to trigger actions based on whether one date is within a specific time range of another date.

  • Use Case: Ideal for workflows where you want to compare registration dates with event dates or any other form of time-sensitive comparison.

Action Details

Format Date

Format Date (image 1 of 3) What this shows Description: This action compares two dates and evaluates which date is earlier, later, or whether the dates are equal. What this shows Illustrates the "Format Date" section of "Workflow Action - Dare/Time Formatter". This screenshot appears in the "Format Date" section of "Workflow Action - Dare/Time Formatter". The text alongside this image reads: Description: This action compares two dates and evaluates which date is earlier, later, or whether the dates are equal. This can be used to trigger actions based on whether one date is within a specific time range of another date. Use Case: Ideal for workflows where you want to compare…. Immediately after, the guide continues: Field Name Description Mandatory Action Name The unique name you want to assign to this action. Yes Action Type Choose the type of formatting action (Format Date, Compare Dates). Yes Field Select the date field you want to format or…. Image 1 of 3 What this coversDescription: This action compares two dates and evaluates which date is earlier, later, or whether the dates are equal. This can be used to trigger actions based on whether one date is within a specific time range of another date. Use Case: Ideal for workflows where you want to compare registration dates with event dates or any other form of time-sensitive comparison. Next stepField Name Description Mandatory Action Name The unique name you want to assign to this action. Yes Action Type Choose the type of formatting action (Format Date, Compare Dates). Yes Field Select the date field you want to format or compare. Yes From Format Define the existing format of the date field. Yes To Format Define the desired format for the date field. Yes

Action Details

Field NameDescriptionMandatory
Action NameThe unique name you want to assign to this action.Yes
Action TypeChoose the type of formatting action (Format Date, Compare Dates).Yes
FieldSelect the date field you want to format or compare.Yes
From FormatDefine the existing format of the date field.Yes
To FormatDefine the desired format for the date field.Yes

Example Workflow:

  • Trigger: Form Submission

  • Action: Format the date of submission to YYYY-MM-DD format for further usage in reporting.

----------------------------------------------------------------------------------------------------------------------

Format Date and Time

Format Date and Time (image 2 of 3) What this shows ---------------------------------------------------------------------------------------------------------------------- What this shows Illustrates the "Format Date and Time" section of "Workflow Action - Dare/Time Formatter". This screenshot appears in the "Format Date and Time" section of "Workflow Action - Dare/Time Formatter". The text alongside this image reads: ----------------------------------------------------------------------------------------------------------------------. Immediately after, the guide continues: Field Description Mandatory Action Name The name you assign to this specific action. Yes Action Type Selected as “Format Date and Time.” Yes Field The field containing the date and time to be formatted. Yes From Format The current format…. Image 2 of 3 What this covers---------------------------------------------------------------------------------------------------------------------- Next stepField Description Mandatory Action Name The name you assign to this specific action. Yes Action Type Selected as “Format Date and Time.” Yes Field The field containing the date and time to be formatted. Yes From Format The current format of the date and time (e.g., DD/MM/YYYY HH:mm). Yes To Format The desired format for both date and time (e.g., MM-DD-YYYY HH). Yes

Action Details

FieldDescriptionMandatory
Action NameThe name you assign to this specific action.Yes
Action TypeSelected as “Format Date and Time.”Yes
FieldThe field containing the date and time to be formatted.Yes
From FormatThe current format of the date and time (e.g., DD/MM/YYYY HH:mm).Yes
To FormatThe desired format for both date and time (e.g., MM-DD-YYYY HH).Yes

Example Workflow:

  • Trigger: Appointment Created

  • Action: Format the appointment date and time from Unix timestamp to readable format for notifications.

----------------------------------------------------------------------------------------------------------------------

Compare Dates

Compare Dates (image 3 of 3) What this shows ---------------------------------------------------------------------------------------------------------------------- What this shows Illustrates the "Compare Dates" section of "Workflow Action - Dare/Time Formatter". This screenshot appears in the "Compare Dates" section of "Workflow Action - Dare/Time Formatter". The text alongside this image reads: ----------------------------------------------------------------------------------------------------------------------. Immediately after, the guide continues: Field Description Mandatory Action Name The name you assign to this specific action. Yes Action Type Selected as “Compare Dates.” Yes Start Date The first date field you want to compare. Yes Start Date Format The format of the first date…. Image 3 of 3 What this covers---------------------------------------------------------------------------------------------------------------------- Next stepField Description Mandatory Action Name The name you assign to this specific action. Yes Action Type Selected as “Compare Dates.” Yes Start Date The first date field you want to compare. Yes Start Date Format The format of the first date (e.g., MM-DD-YYYY). Yes End Date The second date field to compare. Yes End Date Format The format of the second date (e.g., DD/MM/YYYY). Yes

Action Details

FieldDescriptionMandatory
Action NameThe name you assign to this specific action.Yes
Action TypeSelected as “Compare Dates.”Yes
Start DateThe first date field you want to compare.Yes
Start Date FormatThe format of the first date (e.g., MM-DD-YYYY).Yes
End DateThe second date field to compare.Yes
End Date FormatThe format of the second date (e.g., DD/MM/YYYY).Yes

Example Workflow:

  • Trigger: Event Registration

  • Action: Compare registration date with the event date to send reminders if the event is within 3 days.

Date and Time Format Supported

Format TypeExample Output
YYYY-MM-DD45281
MM-DD-YYYY45281
MM/DD/YYYY45281
MM/DD/YY45281
DD-MM-YYYY21-12-2023
DD/MM/YYYY21/12/2023
DD/MM/YY21/12/23
DD MMM YYYY45281
D MMMM YYYY45281
MMMM D, YYYY45281
MMM DD, YYYY45281
MMMM Do YYYYDecember 21st, 2023
X (Unix Timestamp)1703176259

Was this guide helpful?

Related guides