Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Display Month Number & Month Name

Topic Labels: Formulas
Jump to Solution
1040 7
Showing results for 
Search instead for 
Did you mean: 

I have a table which has a Payout Month Column, which is a formula:
DATETIME_FORMAT({Check-in date}, 'MMMM')
How can I add the month number in front of the Month word (ie: 1 Jan)?

1 Solution

Accepted Solutions

I think you want…

MONTH({Check-in date}) & ’ ’ & DATETIME_FORMAT({Check-in date}, ‘MMMM’)

See Solution in Thread

7 Replies 7

Hi @Lost-Merovingian!
You can add a D or DD in the formula, like this

DATETIME_FORMAT({Check-in date}, 'D MMMM')

Additionally, if you want the month as a three-letter abbreviation you use just ‘YYY’ for that.

DATETIME_FORMAT({Check-in date}, 'D MMM')

You can find the supported format specifiers for DATETIME_FORMAT here:

isn’t the D for Day?

I wanted the Number of the month … like … if it was December … it would show as ‘12 Dec’.

It’s basically, so it’ll show up in order in the interface screen.

I think you want…

MONTH({Check-in date}) & ’ ’ & DATETIME_FORMAT({Check-in date}, ‘MMMM’)

Fantastic! Thanks so much!

My mistake, you are absolutely correct. I read too fast.
I’m glad you got a correct answer above.

lol … I do that all the time. Thanks for your quick reply, though.

No problem. Btw…
You already have an answer, but thought I’d mention it. You can use the method I mentioned, but instead of D or DD you put M which outputs month number.
Same result, just slightly cleaner.

DATETIME_FORMAT({Check-in date}, 'M MMMM')