---
title: "DATETIMETOTEXT()"
slug: "datetimetotext"
updated: 2026-03-26T21:37:05Z
published: 2026-03-26T21:37:05Z
canonical: "support.tulip.co/datetimetotext"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.tulip.co/llms.txt
> Use this file to discover all available pages before exploring further.

# DATETIMETOTEXT()

## Description

Formats a date to a string. If a tz identifier is provided, uses that time zone instead of the local time zone.

## Available In

- **Apps**
- **Automations**
- **Analysis**

## Syntax

DATETIMETOTEXT(date: Datetime or Date, format: Text, timezone?: Text)

## Example

DATETIMETOTEXT(@App Info.Current Date and Time, 'MMM DD YYYY', 'America/New_York') = Jan 01 2019

## Additional Information

Formatting: [devhints.io/moment](https://devhints.io/moment)
