• Channels
    • Instagram DMs
    • Facebook Messenger
    • WhatsApp
    • TikTok
    • SMS
    • Website
    • Voice & Phone
  • Platform
    • Features & Integrations
    • CRM & Ticketing
    • Chatbot Templates
  • Services
    • Click-To-Message Ads
    • AI Agents
    • Chatbot Development
    • Industries
      • Restaurants
      • Real Estate
      • Influencers & Creators
      • Universities
      • Car Dealers
      • Gyms & Fitness
      • eCommerce & Retail
      • Consumer Goods
      • Law Firms
      • Museums & Attractions
      • Travel
      • Events & Entertainment
      • Hotels
  • Pricing
  • Contact
  • Log In
  • Create Bot

How to Format Date and Time

  • Home
  • Docs
  • How to Format Date and Time

Channels

24
  • How to Connect MailChimp with ChitChatBot.ai
  • How to Assign a Conversation to an Admin or Team in app.chitchatbot.ai
  • How to Add a Note to a Contact in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Enable or Disable the Messenger Composer in app.chitchatbot.ai
  • Get Started with Telegram Automation on ChitChatBot.ai
  • 📞 Voice Automation with Twilio on ChitChatBot.ai
  • 📲 Get Started with SMS Automation Using Twilio
  • ChitChatBot System Variables & Account Fields
  • Instagram DM Automation with ChitChatBot.ai
  • WhatsApp Commerce: Connect & Manage Product Catalogs with ChitChatBot.ai
  • How to Automatically Reply to Instagram Comments
  • How to Set Up Instagram Story Reply Automation
  • Instagram Story Mention Reply Setup Guide
  • Triggers and Actions in app.chitchatbot.ai 
  • How to Send Broadcast Messages on WhatsApp Using app.chitchatbot.ai
  • How to Create and Send a WhatsApp Template Message on app.chitchatbot.ai
  • WhatsApp Business Chatbot Setup for ChitChatBot.ai
  • Custom Fields in app.chitchatbot.ai
  • How to Set Up a Poll

Webchat

12
  • How to Add Webchat to Your Website
  • How to View Actions Performed in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • ChitChatBot System Variables & Account Fields
  • Custom Fields in app.chitchatbot.ai
  • Allow Your Customers to Find Places Near Them 
  • How to setup bot Persistent Menu?

Facebook Messenger

22
  • Integrating Facebook Ads with Chitchatbot
  • How to View Actions Performed in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Use Personas in app.chitchatbot.ai
  • How to Enable or Disable the Messenger Composer in app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • ChitChatBot System Variables & Account Fields
  • Custom Fields in app.chitchatbot.ai
  • Allow Your Customers to Find Places Near Them 
  • Automatically Reply To Facebook Comments
  • How to get the JSON code for Click-To Message Adverts on Facebook & Instagram
  • Meta’s Guidelines and Policies for Using Automated Bots
  • Messenger Lists For Marketing Messages – Recurring Notifications on Messenger
  • How to setup bot Persistent Menu?
  • How to setup the greeting message?
  • How to set up Conversation starters?
  • How to setup Welcome Message for Messenger
  • Core Messenger Welcome Components

Instagram DMs

19
  • Integrating Facebook Ads with Chitchatbot
  • How to View Actions Performed in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • ChitChatBot System Variables & Account Fields
  • Instagram DM Automation with ChitChatBot.ai
  • How to Automatically Reply to Instagram Comments
  • How to Set Up Instagram Story Reply Automation
  • Instagram Story Mention Reply Setup Guide
  • Custom Fields in app.chitchatbot.ai
  • Allow Your Customers to Find Places Near Them 
  • How to get the JSON code for Click-To Message Adverts on Facebook & Instagram
  • Meta’s Guidelines and Policies for Using Automated Bots
  • How to setup bot Persistent Menu?
  • How to set up Conversation starters?

Text Messages (SMS)

6
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • 📲 Get Started with SMS Automation Using Twilio
  • ChitChatBot System Variables & Account Fields
  • Custom Fields in app.chitchatbot.ai

WhatsApp

15
  • Integrating Facebook Ads with Chitchatbot
  • How to View Actions Performed in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • 📍 How to Get a User’s Location in app.chitchatbot.ai
  • ChitChatBot System Variables & Account Fields
  • WhatsApp Commerce: Connect & Manage Product Catalogs with ChitChatBot.ai
  • How to Send Broadcast Messages on WhatsApp Using app.chitchatbot.ai
  • How to Create and Send a WhatsApp Template Message on app.chitchatbot.ai
  • WhatsApp Business Chatbot Setup for ChitChatBot.ai
  • Custom Fields in app.chitchatbot.ai
  • Allow Your Customers to Find Places Near Them 

Voice / Phone

6
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • 📞 Voice Automation with Twilio on ChitChatBot.ai
  • ChitChatBot System Variables & Account Fields
  • Voice Automation with AudioCodes on chitchatbot.ai
  • Custom Fields in app.chitchatbot.ai

Email

5
  • How to Connect MailChimp with ChitChatBot.ai
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • ChitChatBot System Variables & Account Fields
  • Custom Fields in app.chitchatbot.ai

Telegram

8
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • How to Send a Broadcast Message to Telegram Contacts
  • How Telegram Premium Users Can Automate Conversations Using a Chatbot
  • Get Started with Telegram Automation on ChitChatBot.ai
  • ChitChatBot System Variables & Account Fields
  • Custom Fields in app.chitchatbot.ai

Integrations

41
  • External Requests & Dynamic Content in Chitchatbot.ai
  • How to Extract Data from JSON
  • API Documentation For ChitChatBot.ai
  • QR Codes & Magic Links on ChitChatbot.ai
  • Pipedrive Integration
  • Integrating Facebook Ads with Chitchatbot
  • Klaviyo Integration with ChitChatBot.ai
  • Razorpay Integration with ChitChatBot.ai
  • HubSpot Integration with ChitChatBot.ai
  • How to Connect MailChimp with ChitChatBot.ai
  • How to Connect PayPal with ChitChatBot.ai
  • How to Connect ChitChatBot to Zapier
  • How to Find and Connect the ChitChatBot Make.com (formerly Integromat) App
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • 📞 Voice Automation with Twilio on ChitChatBot.ai
  • 📍 How to Get a User’s Location in app.chitchatbot.ai
  • 📲 Get Started with SMS Automation Using Twilio
  • WhatsApp Commerce: Connect & Manage Product Catalogs with ChitChatBot.ai
  • How to Generate Images Using xAI
  • How to Analyze an Image Using Claude Vision
  • How to Connect Google Gemini to Chitchatbot.ai
  • How to Connect Claude (Anthropic) to Chitchatbot.ai
  • AI Triggers: Connect ChatGPT to Automation & External Tools
  • 🗣️ How to Convert Speech to Text with OpenAI
  • How to Analyze an Image Using Google Gemini Vision
  • Generating Images Using Google Gemini
  • Editing an Image Using Google Gemini
  • CRM Pipeline Management in Chitchatbot.ai
  • Appointment Scheduling Using OpenAI or Google Gemini
  • Appointment Scheduling Manager – Set Up Your Calendar
  • Enhance Customer Support with ChatGPT (OpenAI Integration)
  • Triggers and Actions in app.chitchatbot.ai 
  • Connect OpenAI ChatGPT to your ChitChatBot.ai Account
  • Voice Automation with AudioCodes on chitchatbot.ai
  • How to Generate Images Using OpenAI on Chitchatbot.ai
  • Custom Fields in app.chitchatbot.ai
  • Allow Your Customers to Find Places Near Them 
  • How to Analyse an Image Using OpenAI Vision
  • Google Sheets – Dynamic Gallery
  • Google Sheets
  • ActiveCampaign

AI Features

15
  • How to Extract Data from JSON
  • How to Generate Images Using xAI
  • How to Analyze an Image Using Claude Vision
  • How to Connect Google Gemini to Chitchatbot.ai
  • How to Connect Claude (Anthropic) to Chitchatbot.ai
  • AI Triggers: Connect ChatGPT to Automation & External Tools
  • 🗣️ How to Convert Speech to Text with OpenAI
  • How to Analyze an Image Using Google Gemini Vision
  • Generating Images Using Google Gemini
  • Editing an Image Using Google Gemini
  • Appointment Scheduling Using OpenAI or Google Gemini
  • Enhance Customer Support with ChatGPT (OpenAI Integration)
  • Connect OpenAI ChatGPT to your ChitChatBot.ai Account
  • Voice Automation with AudioCodes on chitchatbot.ai
  • How to Generate Images Using OpenAI on Chitchatbot.ai

Tools

36
  • Managing Your Ecommerce Products on Chitchatbot
  • Setting Delivery Costs by Location
  • Adding Ecommerce Categories
  • How to Sell with the Webshop
  • How to Use Your Own Custom Checkout Page with Chitchatbot
  • 🛍️ Introduction to Chitchatbot’s Built-in eCommerce Module
  • 🛍️ eCommerce Settings on ChitChatbot.ai
  • External Requests & Dynamic Content in Chitchatbot.ai
  • How to Implement a Referral System
  • How to Add Webchat to Your Website
  • How to Extract Data from JSON
  • API Documentation For ChitChatBot.ai
  • How to Copy Flows & Entire Bot Builds Using Templates
  • QR Codes & Magic Links on ChitChatbot.ai
  • Entry Point Links & Referral Parameters
  • Integrating Facebook Ads with Chitchatbot
  • Analytics in ChitChatBot.ai
  • How to Connect PayPal with ChitChatBot.ai
  • How to Connect ChitChatBot to Zapier
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Set Up Keyword Automated Responses Across Channels
  • How to Notify Admins on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • How to Import Contacts into app.chitchatbot.ai
  • 📍 How to Get a User’s Location in app.chitchatbot.ai
  • WhatsApp Commerce: Connect & Manage Product Catalogs with ChitChatBot.ai
  • Appointment Scheduling Using OpenAI or Google Gemini
  • Appointment Scheduling Manager – Set Up Your Calendar
  • Triggers and Actions in app.chitchatbot.ai 
  • Add Admins & Agents To Your Account
  • Custom Fields in app.chitchatbot.ai
  • Bot Simulator Tool
  • How to Set Up a Poll

Platform

60
  • Managing Your Ecommerce Products on Chitchatbot
  • Adding Ecommerce Categories
  • How to Sell with the Webshop
  • How to Use Your Own Custom Checkout Page with Chitchatbot
  • 🛍️ Introduction to Chitchatbot’s Built-in eCommerce Module
  • 🛍️ eCommerce Settings on ChitChatbot.ai
  • Messenger Lists For Marketing Messages – Recurring Notifications on Messenger
  • ChitChatBot and GDPR Compliance
  • Dynamic Multiple Choice Options
  • How to Format Date and Time
  • Math Calculations Inside Your Chatbot
  • How to Enable Development Mode – Test Bot for Admins Only
  • External Requests & Dynamic Content in Chitchatbot.ai
  • How to Provide Your Own Language Translations for Built-in Flows
  • How to Implement a Referral System
  • How to Add Webchat to Your Website
  • How to Extract Data from JSON
  • How to Connect Your Google, Facebook, or Microsoft Account for Login
  • API Documentation For ChitChatBot.ai
  • How to Copy Flows & Entire Bot Builds Using Templates
  • File and Video Size Limits on ChitChatbot.ai
  • QR Codes & Magic Links on ChitChatbot.ai
  • Entry Point Links & Referral Parameters
  • HubSpot Integration with ChitChatBot.ai
  • Analytics in ChitChatBot.ai
  • How to Connect MailChimp with ChitChatBot.ai
  • How to Connect PayPal with ChitChatBot.ai
  • How to Connect ChitChatBot to Zapier
  • How to Find and Connect the ChitChatBot Make.com (formerly Integromat) App
  • How to Block a Contact in app.chitchatbot.ai
  • How to Archive a Conversation in app.chitchatbot.ai
  • How to Delete a Contact in app.chitchatbot.ai
  • How to Assign a Conversation to an Admin or Team in app.chitchatbot.ai
  • Step-by-Step Guide: Mark a Conversation as Follow-Up
  • How to View Actions Performed in the Inbox on app.chitchatbot.ai
  • How to Add a Note to a Contact in the Inbox on app.chitchatbot.ai
  • How to Transfer Conversations to a Human or Bot in app.chitchatbot.ai
  • How to Send Conversion Events to Facebook Using app.chitchatbot.ai
  • Segment Your Audience with Tags on app.chitchatbot.ai
  • How to Set Up Keyword Automated Responses Across Channels
  • How to Notify Admins on app.chitchatbot.ai
  • How to Use Saved Replies in the Inbox on app.chitchatbot.ai
  • How to Filter Conversations in the Inbox on app.chitchatbot.ai
  • How to Use Personas in app.chitchatbot.ai
  • How to Enable or Disable the Messenger Composer in app.chitchatbot.ai
  • How to Send a Flow from the Inbox in app.chitchatbot.ai
  • How to Import Contacts into app.chitchatbot.ai
  • 📞 Voice Automation with Twilio on ChitChatBot.ai
  • 📍 How to Get a User’s Location in app.chitchatbot.ai
  • 📲 Get Started with SMS Automation Using Twilio
  • ChitChatBot System Variables & Account Fields
  • WhatsApp Commerce: Connect & Manage Product Catalogs with ChitChatBot.ai
  • 🗣️ How to Convert Speech to Text with OpenAI
  • Editing an Image Using Google Gemini
  • CRM Pipeline Management in Chitchatbot.ai
  • Appointment Scheduling Using OpenAI or Google Gemini
  • Appointment Scheduling Manager – Set Up Your Calendar
  • Enhance Customer Support with ChatGPT (OpenAI Integration)
  • How to Automatically Reply to Instagram Comments
  • How to Rename Your Account and Change Your Profile Image on app.chitchatbot.ai  
View Categories
  • Home
  • Docs
  • Platform
  • How to Format Date and Time

How to Format Date and Time

3 min read

Formatting date and time is crucial for serving customers in different regions, as date and time formats vary across countries and cultures. ChitChatbot makes it easy to customize how your bot displays dates and times to match your users’ preferences.

Here’s a step-by-step guide to help you set up date and time formatting within your flows:


Step 1: Choose the Flow to Edit

Navigate to the flow where you want to format a date or time.


Step 2: Add the Action

In the flow’s block builder:

  • Select the “Action” option.
  • From the list of actions, choose “Format Date / Date & Time”.
a format data - ChitChatBot - AI Bot Building Platform

Step 3: Configure the Format

Within the Format Date / Date & Time action, do the following:

✅ Select the Date Field

  • Choose the custom field containing the date you want to format.

✅ Enter the Desired Format

  • In the Format field, type the pattern you want to display.
    For example, to show the date and time as 23-01-2022; 02:00 a.m, enter: d-m-Y; h-i a
  • Refer to the table below for all available formatting parameters.

✅ Save the Formatted Date

  • Either create a new custom field or select an existing one in the “Save the formatted date to” field.

✅ Set the Time Zone

  • You can choose whether to format the date in the page’s time zone or the user’s time zone.

Finally, click Save to apply these settings.


Formatting Parameters for Date & Time

CharacterDescriptionExample Values
Day
dDay of the month, 2 digits with leading zeros01 to 31
DShort textual representation of a day (3 letters)Mon through Sun
jDay of the month without leading zeros1 to 31
lFull textual day of the weekSunday through Saturday
NISO-8601 numeric day of the week1 (Monday) to 7 (Sunday)
SEnglish ordinal suffix (st, nd, rd, th)st, nd, rd, th
wNumeric day of the week (0 for Sunday)0 to 6
zDay of the year, starting from 00 to 365
Week
WISO-8601 week number of year01 to 53
Month
FFull textual month (January, February, etc.)January through December
mNumeric month with leading zeros01 to 12
MShort textual month (3 letters)Jan through Dec
nNumeric month without leading zeros1 to 12
tNumber of days in the given month28 to 31
Year
LLeap year indicator (1 for yes, 0 for no)0 or 1
oISO-8601 year (may differ from calendar year)1999, 2025, etc.
YFour-digit year1999, 2025
yTwo-digit year99, 25
Time
aLowercase am/pmam, pm
AUppercase AM/PMAM, PM
g12-hour format without leading zeros1 to 12
G24-hour format without leading zeros0 to 23
h12-hour format with leading zeros01 to 12
H24-hour format with leading zeros00 to 23
iMinutes with leading zeros00 to 59
sSeconds with leading zeros00 to 59
UUnix timestamp (seconds since 1970-01-01 00:00:00 GMT)e.g., 1717457692

Note:
The U format is particularly useful for math operations. For example, if you want to calculate how long a user takes to complete a quiz:

({{stop}} - {{start}}) / 60

This calculates the total time in minutes! This would be a maths operation.


Example Format

If you want to display:

23-01-2022; 02:00 am

You would use the format string:

d-m-Y; h-i a

Key Tips

✅ Double-check the time zone settings to ensure accurate local time for your users.
✅ Store the formatted date in a separate custom field for easy use in your flows.
✅ Use the formatting parameters creatively to suit your audience’s region and language.

Updated on 4 June 2025

What are your Feelings

  • Happy
  • Normal
  • Sad

Related Docs

  • Math Calculations Inside Your Chatbot
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Dynamic Multiple Choice OptionsMath Calculations Inside Your Chatbot

Integrated AI. Infinite possibilities.

5
4
3
2
  • Log In
  • Sign Up
g2 reviews
Resources
  • Platform API
  • Documentation
  • Blog
  • FAQ
meta tech provider verified
Get in touch

Engage on any channel, connect with more people, and drive results - all in one chatbot platform.

Copyright © 2025 ChitChatBot.ai

Chit Chat Communications Ltd. is a limited company registered in England and Wales. Registered number: 13422957. VAT GB433681590.

  • Terms & Conditions
  • Privacy Policy