# Format Date Action in DoubleTick Bot Studio

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2FFOWhHeLJPTsOJnbrC99S%2Fimage.png?alt=media&#x26;token=b2c2a528-9b01-4824-9afd-0b50f021a91c" alt=""><figcaption></figcaption></figure>

When customers share dates with your bot, they can write them in many different ways — and that often creates confusion for automation. To solve this, DoubleTick introduces the **Format Date action** in Bot Studio.

This feature helps you **standardize dates automatically**, so your bots can work reliably every time.

***

### What Is the Format Date Action?

The **Format Date action** allows your bot to take a date value (entered by a customer or stored in a field) and convert it into a **specific format** that your bot can easily understand and use.

In simple terms:

> No matter how a customer enters a date, your bot converts it into one clean, fixed format.

***

### Why Is This Feature Important?

Customers don’t always follow the same date format. For example:

* 8/12/25
* 12 August 2025
* 08-12-2025

While humans understand these, bots and systems often don’t.

With Format Date:

* Dates become consistent
* Bots don’t break due to format mismatch
* Follow-ups, reminders, and workflows work smoothly

***

### Common Use Cases

You can use Format Date when:

* Capturing appointment dates
* Storing birthdates
* Scheduling follow-ups
* Sending reminders
* Passing dates to templates or APIs

Example:\
A customer enters a date in any format → your bot converts it to **YYYY-MM-DD** → you use it everywhere without errors.

***

### How Format Date Helps Your Business

* ✅ Eliminates date-related errors
* ✅ Improves bot accuracy
* ✅ Reduces manual validation logic
* ✅ Makes automation reliable
* ✅ Prepares data for integrations and reporting

***

### Where Can You Use This Action?

The Format Date action is available inside **Bot Studio** while creating or editing a bot flow.\
You can add it as an action step whenever you are working with date-related inputs or fields.

***

### Summary

The Format Date action ensures that:

* All dates follow a single, consistent format
* Your bots behave predictably
* Your workflows stay clean and reliable

If your bot deals with dates at any point, this feature is highly recommended.
