Chat Flow User Guide
User GuidesRelease NotesFAQsSupport
5.52.0
5.52.0
  • 🏠Return to Home Page
  • 🔎Overview
    • Chat Flow Overview
    • Quick Start
  • 🪛Configuration
    • Access Chat Flow
    • Configure a route
    • Add an API integration
    • Set up keywords
    • Set up session timeout events
    • Manage your workflow assets
  • ✅Channel Capabilities
    • Configure channel display type
    • Use WhatsApp with Chat Flow
      • Initiate WhatsApp conversations
      • Send WhatsApp message templates
      • WhatsApp Interactive Messages
      • WhatsApp Commerce Messages
    • Use Apple Messaging for Business with Chat Flow
      • Apple Interactive Messages
      • Apple User-Facing Nodes
  • 🔃Workflow management
    • Build a workflow
      • Add a workflow
      • Delete and restore nodes
      • Repeat a step in a workflow
      • Dynamic API Workflows
    • Edit/delete a workflow
    • Search, Find & Replace in a workflow
    • Duplicate, rename, or move a workflow
    • Preview workflows
      • Preview flow on different channels
      • Preview logs
    • Approve and deploy workflows
      • View flow details
      • Submit a workflow for approval
      • Approve/decline a workflow
      • Deploy a workflow to production
  • 😎User-Facing Nodes
    • Display nodes
      • Contact Sending
      • External Link
      • Location sharing
      • Media
      • OTP Menu
      • Rich Link
      • Text Display
    • Product nodes
      • Clickatell AI node
      • Chat Desk node
    • Input nodes
      • Contact Receiving
      • OAuth Request
      • Request Input
      • Send Form
      • Time Picker
    • Commerce
      • Chat 2 Pay
      • Multi Product
    • Branch/logic split
      • Dynamic List
        • Apply patterns, custom indexes, filtering, and exclusions
      • Menu
      • Multiple Choice Input
  • 🎬Action Nodes
    • API Integration node
    • Calculate
    • Date Format
    • Display List
    • Encrypt
    • Is Empty
    • Is Null
    • Number Format
    • Regular Expression
    • Remap
    • Send Template
    • Set Variable
    • Switch Case
    • Wait For Callback
    • Opt-Out nodes
  • 🔗Integrations
    • Integration nodes
  • 🔡Variable management
  • Using system variables
  • Referring to variables
  • 📊Reporting & Analytics
    • Analytics Settings
    • Collections & reporting labels
    • Clickatell Portal Reports
  • ❗System error codes
    • System Error Codes
  • 💡Help & Information
    • What's New? 🎈
    • Release Notes
    • FAQs
    • Return to Home Page
Powered by GitBook
LogoLogo

© Copyright 2024 Clickatell. All rights reserved.

On this page

Was this helpful?

  1. Action Nodes

Date Format

Last updated 1 month ago

Was this helpful?

The Date Format action node is used to reformat a date input into another specified format.

This node is typically used after a node, where a user is required to provide a date or an API call where a date is returned.

If the date was formatted without exceptions, the action node will return "Yes". Else it will return "No", including parse exceptions.

For example, if a user enters a date in yyyy-MM-dd format and we want to convert it into dd-MM-yyyy format, you can use the Date Format node. After a successful conversion, the node will return a "Yes" response. If the conversion failed, the node will return a "No" response.

Examples

The table below lists the common letters that can be used to specify the date format patterns in Chat Flow:

Letter

Date or Time Component

Examples

y

Year

1996; 96

Y

Week year

2009; 09

M

Month in year (context sensitive)

July; Jul; 07

L

Month in year (standalone form)

July; Jul; 07

w

Week in year

27

W

Week in month

2

D

Day in year

189

d

Day in month

10

F

Day of week in month

2

E

Day name in week

Tuesday; Tue

u

Day number of week (1 = Monday, ..., 7 = Sunday)

1

a

Am/pm marker

PM

H

Hour in day (0-23)

0

k

Hour in day (1-24)

24

K

Hour in am/pm (0-11)

0

h

Hour in am/pm (1-12)

12

m

Minute in hour

30

s

Second in minute

55

S

Millisecond

978

z

Timezone

Pacific Standard Time; PST; GMT-08:00

Z

Timezone

-08:00

X

Timezone

-08; -08:00; -08:00

🎬
Request Input
Setup of a Date Format node
Example flow containing Date Format node