- Getting started with Airtable
- Introduction to Airtable basics
- Contacting Airtable Support
- Airtable home screen
- Glossary of Airtable terminology
- Airtable technical requirements
- Feature differences between Airtable on desktop and mobile
- Airtable keyboard shortcuts
- Using Markdown in Airtable
- Adding descriptions in Airtable
- Finding Airtable IDs
- Airtable Automations
- Automations Overview
- Automation feature walkthroughs
- Integrated automation walkthroughs
- Airtable automation walkthroughs
- Linking existing records using automations
- Conditional groups of automation actions
- Repeating groups of Airtable automation actions
- Creating recurring records using automations
- How to delay Airtable automation runs
- Prevent automations from triggering by mistake
- Use automations to timestamp status updates
- Automation Triggers
- Airtable Triggers
- Airtable automation trigger: When record matches conditions
- Airtable automation trigger: When a form is submitted
- Airtable automation trigger: When record created
- Airtable automation trigger: When record updated
- Airtable automation trigger: When record enters view
- Airtable automation trigger: At scheduled time
- Airtable automation trigger: When webhook received
- Airtable automation trigger: When a button is clicked
- Integrated Triggers
- Airtable Triggers
- Automation Actions
- Airtable Actions
- Integrated Actions
- Airtable automation actions: Slack
- Airtable automation actions: Google Workspace
- Airtable automation action: Send MS Teams message
- Airtable automation actions: Outlook
- Airtable automation actions: Jira Cloud
- Airtable automation actions: Jira Server / Data Center
- Airtable automation actions: Salesforce
- Airtable automation action: Create post in Facebook Pages
- Airtable automation actions: GitHub Issues
- Airtable automation action: Hootsuite post
- Airtable automation action: Send Twilio SMS
- Airtable Bases
- Using Airtable Cobuilder
- Airtable bases overview
- Creating and managing Airtable bases
- Structuring bases in Airtable
- Moving bases between workspaces in Airtable
- Creating and managing tables in Airtable
- Creating Airtable base share links
- Importing third-party data into Airtable
- Using insights in Airtable
- Troubleshooting Airtable base performance
- Airtable Betas
- Collaborating in Airtable
- Airtable Enterprise Support
- General Enterprise information
- External badging in Airtable
- Using app library and components in Airtable
- Ask an Expert beta overview
- European data residency at Airtable
- Airtable user groups overview
- Airtable Enterprise API
- Creating and managing data retention policies in Airtable
- eDiscovery APIs in Airtable
- Airtable and data loss prevention
- Accessing Enterprise audit logs in Airtable
- Set up Jira Server / Data Center to connect with Airtable
- Admin panel pages
- Airtable admin panel overview
- Users - Airtable enterprise admin panel
- Airtable admin panel user details
- Groups - Airtable admin panel
- Workspaces - Airtable Enterprise Admin Panel
- Bases - Airtable admin panel
- Interfaces - Airtable admin panel
- Data sets - Airtable admin panel
- Managed apps - Airtable admin panel
- Components - Airtable admin panel
- Reports - Airtable admin panel
- Settings - Airtable admin panel
- Managing Enterprise organizations
- Managing Enterprise admins in admin panel
- Using Organizations
- Organization branding for apps in Airtable
- Enterprise Hub in Airtable
- Enterprise Hub: Org unit assignment with user groups
- Deactivating, removing access, and reactivating users in the admin panel
- Managing user access to workspaces and bases Updated
- Airtable Enterprise Key Management
- Enterprise SSO
- General Enterprise information
- Airtable Extensions
- Airtable Fields
- Fields Overview
- Attachment
- Date-based fields
- Formula
- Getting Started with Formulas
- Formula Foundations
- The essentials of Airtable formulas
- Formula writing tips for beginners
- Troubleshooting formulas
- Basic calculations
- Conditional statements
- Logical arguments
- Working with dates
- Displaying DATETIME_FORMAT using the date field in Airtable
- Working with date functions in Airtable
- Calculating the difference between dates in Airtable
- Supported DATETIME_DIFF unit specifiers in Airtable
- Supported DATETIME_FORMAT format specifiers in Airtable
- Using the DATETIME_PARSE() formula in Airtable
- Working with timezones
- Record functions
- Text functions
- Numeric functions
- Common Solutions: Beginner
- Common Solutions: Intermediate
- Common Solutions: Advanced
- Long Text Field
- Linked Record Field
- Number-Based Fields
- Other Fields
- Rollup, lookup, and count fields
- Select and user fields
- Integrating with Airtable
- API
- Getting started with Airtable's Web API
- Creating personal access tokens
- Airtable Webhooks API Overview
- Service accounts overview
- Airtable Web API - Using filterByFormula or sort parameters
- Airtable API Deprecation Guidelines
- Airtable API: Common troubleshooting
- Managing API call limits in Airtable
- URL length limitations for web API requests
- Integration services
- Third-party integrations via OAuth overview
- Troubleshooting disconnected OAuth integrations in Airtable
- Options for integrating with Airtable
- Third-party integrations - Common troubleshooting
- Low-code integrations - Common troubleshooting
- Integrating Airtable with external calendar applications
- Visualizing records from Airtable in Tableau
- Visualizing Airtable records in Microsoft Power BI & Power Query
- Integrating HubSpot with Airtable
- Using Zapier to integrate Airtable with other services
- Using Zapier's Multi-Step Zaps to find and update records
- Using IFTTT to integrate Airtable with other services
- Integrating with AWS Lambda & DynamoDB
- Developer tools
- API
- Airtable Interface Designer
- Interface Designer overview articles
- Interface layouts
- Interface elements
- Adding and removing elements in interfaces
- Adding layouts to interfaces
- Formatting elements in interfaces
- Interface element: Button
- Interface element: Calendar
- Interface element: Chart
- Interface element: Filter
- Interface element: Gallery
- Interface element: Grid
- Interface element: Kanban
- Interface element: Number
- Interface element: Record picker
- Interface element: Text
- Interface element: Timeline
- Learning and Resources
- Managing Airtable
- Airtable Policy
- Airtable Records
- Airtable Sync
- Airtable Views
- Airtable Workspaces
- Print
- Share
- DarkLight
- PDF
Supported DATETIME_FORMAT format specifiers in Airtable
- Updated on 16 Feb 2024
- 4 Minutes to read
- Print
- Share
- DarkLight
- PDF
Learn how various format specifiers can be used to format a date as a string in Airtable.
Introduction
All plan types | |
Platform(s) | Web/Browser, Mac app, and Windows app |
Related reading |
Understanding the DATETIME_FORMAT function
Understanding the DATETIME_FORMAT
The DATETIME_FORMAT function will allow you to reformat the data from the date-type field into a string of your specifications. This is written in the format of DATETIME_FORMAT(Datetime, 'format specifier')
, in which the format specifier can be something like 'DD-MM-YYYY,' 'YYYY/MM/DD,' 'MM.DD,' etc. So for example, the formula DATETIME_FORMAT('10/22/2003', 'M')
will return 10
.
For more on how to use the DATETIME_FORMAT function in Airtable formulas, please see the article on Formulas and date fields. For more information on using DATETIME_FORMAT with timezones, please see the support article for Timezones and locales.
Supported DATETIME_FORMAT specifiers
Supported format specifiers
NOTEThe format specifiers w and W behave slightly differently from one another. W is the "ISO week of year.” w is for the "locale week of year" (in our case, according to the Gregorian calendar in GMT). 2/11/21 falls on the 6th ISO week and on the 7th Gregorian week. Behind the scenes, Airtable uses the moment library for date parsing. All of the tokens are documented here.
Format Specifier | Description | Example(s) |
---|---|---|
M | Month of the year, cardinal nos. 1-12 | 1 2 ... 11 12 |
Mo | Month of the year, ordinal nos. 1st-12th | 1st 2nd ... 11th 12th |
MM | Month of the year, cardinal nos. 01-12 | 01 02 ... 11 12 |
MMM | Month name, three-letter abbreviation | Jan Feb ... Nov Dec |
MMMM | Month name | January ... December |
Q | Quarter of the year, cardinal nos. 1-4 | 1 2 3 4 |
Qo | Quarter of the year, ordinal nos. 1st-4th | 1st 2nd 3rd 4th |
D | Day of the month, cardinal nos. 1-31 | 1 2 ... 30 31 |
Do | Day of the month, ordinal nos. 1st-31st | 1st 2nd ... 30th 31st |
DD | Day of the month, cardinal nos. 01-31 | 01 02 ... 30 31 |
DDD | Day of the year, cardinal nos. 1-365 | 1 2 ... 364 365 |
DDDo | Day of the year, ordinal nos. 1st-365th | 1st 2nd ... 364th 365th |
DDDD | Day of the year, cardinal nos. 001-365 | 001 002 ... 364 365 |
d | Day of the week, cardinal nos. 0-6 | 0 1 ... 5 6 |
do | Day of the week, ordinal nos. 0th-6th | 0th 1st ... 5th 6th |
dd | Day of the week, two-letter abbreviation | Su Mo ... Fr Sa |
ddd | Day of the week, three-letter abbreviation | Sun Mon ... Fri Sat |
dddd | Day of the week | Sunday ... Saturday |
e | Day of the week (Locale) | 0 1 ... 5 6 |
E | Day of the week (ISO) | 1 2 ... 6 7 |
w | Week of the year, cardinal nos. 1-53 | 1 2 ... 52 53 |
wo | Week of the year, ordinal nos. 1st-53rd | 1st 2nd ... 52nd 53rd |
ww | Week of the year, cardinal nos. 01-53 | 01 02 ... 52 53 |
W | Week of the year (ISO), cardinal nos. 1-53 | 1 2 ... 52 53 |
Wo | Week of the year (ISO), ordinal nos. 1st-53rd | 1st 2nd ... 52nd 53rd |
WW | Week of the year (ISO), cardinal nos. 01-53 | 01 02 ... 52 53 |
YY | Year, last two digits | 00 01 ... 98 99 |
YYYY | Year | 2000 2001 ... 2098 2099 |
gg | Week year, last two digits | 00 01 ... 98 99 |
gggg | Week year | 00 01 ... 98 99 |
GG | Week year (ISO), last two digits | 00 01 ... 98 99 |
GGGG | Week year (ISO) | 2000 2001 ... 2098 2099 |
A | Ante meridiem/post meridiem (majuscule) | AM PM |
a | Ante meridiem/post meridiem (miniscule) | am pm |
H | Hour, using a 24-hour clock from 0-23 | 0 1 ... 22 23 |
HH | Hour, using a 24-hour clock from 00-23 | 00 01 ... 22 23 |
h | Hour, using a 12-hour clock from 1-12 | 1 2 ... 11 12 |
hh | Hour, using a 12-hour clock from 01-12 | 01 02 ... 11 12 |
m | Minute | 0 1 ... 58 59 |
mm | Minute | 00 01 ... 58 59 |
s | Second | 0 1 ... 58 59 |
ss | Second | 00 01 ... 58 59 |
S | Fractional second | 0 1 ... 8 9 |
SS | Fractional second | 00 01 ... 98 99 |
SSS | Fractional second | 000 001 ... 998 999 |
SSSS ... SSSSSSSSS | Fractional second | 000[0..] ... 999[0..] |
Z | Timezone relative to GMT, inc. colons | -07:00 -06:00 ... +06:00 +07:00 |
ZZ | Timezone relative to GMT, not inc. colons | -0700 -0600 ... +0600 +0700 |
X | Unix timestamp | 1360013296 |
x | Unix millisecond timestamp | 1360013296123 |
LT | Preset timestamp format in the form of h:mm A | 6:30 PM |
LTS | Preset timestamp format in the form of h:mm:ss A | 6:30:45 PM |
L | Preset date format in the form of MM/DD/YYYY | 06/08/2016 |
l | Preset date format in the form of M/D/YYYY | 6/8/2016 |
LL | Preset date format in the form of MMMM D, YYYY | June 8, 2016 |
ll | Preset date format in the form of MMM D, YYYY | Jun 8, 2016 |
LLL | Preset datetime format in the form of MMMM D, YYYY h:mm A | June 8, 2016 6:30 PM |
lll | Preset datetime format in the form of MMM D, YYYY h:mm A | Jun 8, 2016 6:30 PM |
LLLL | Preset datetime format in the form of dddd, MMMM D, YYYY h:mm A | Wednesday, June 8, 2016 6:30 PM |
llll | Preset datetime format in the form of ddd, MMM D, YYYY h:mm A | Wed, Jun 8, 2016 6:30 PM |
Common formatting examples
ISO 8601
ISO 8601 represents date and time in the year-month-day-hour-minutes-seconds-milliseconds format.
For example, 2025-12-31 15:00:00.000, represents the 10th of July 2020 at 3 p.m. It’s important to note that there is no time zone offset specified and the time is generally assumed to be in UTC format.
DATETIME_FORMAT({Insert Date Field Name}, "YYYY-MM-DD HH:mm:ss.SSS")
America Dates
Date and time notation in the United States formats the date in month–day–year format:
December 31 2025
DATETIME_FORMAT({Insert Date Field Name}, "MMMM D YYYY")
12/31/25
DATETIME_FORMAT({Insert Date Field Name}, "M D YY")
12/31/2025
DATETIME_FORMAT({Insert Date Field Name}, "M/D/YYYY")
UK dates
Date and time notation in the United Kingdom formats the date in day–month–year format:
31 December 2025
DATETIME_FORMAT({Insert Date Field Name}, "D MMMM YYYY")
31/12/25
DATETIME_FORMAT({Insert Date Field Name}, "D M YY")
31/12/2025
DATETIME_FORMAT({Insert Date Field Name}, "D/M/YYYY")