Airtable Cobuilder is here! Learn more about our new no-code app creation feature, powered by AI on the Airtable Academy

Date formula problem

Topic Labels: Formulas
1047 3
Showing results for 
Search instead for 
Did you mean: 
5 - Automation Enthusiast
5 - Automation Enthusiast

I have the following formula in my table ID column, which works great, it puts together the customer name, date of photoshoot and type of photoshoot. Leaving it blank with no error message until the data is entered, but for some strange reason the date says 23/4/2022, but the ID cell puts it together as 22/4/2022 instead. See photo……

IF(OR({Customer Name}="",{Type of Photoshoot}="",{Date and time of Photoshoot}=""),"",CONCATENATE({Customer Name}," - “,{Type of Photoshoot},” - ",DATETIME_FORMAT({Date and time of Photoshoot}, “D/M/YYYY”)))

3 Replies 3

It is a time zone issue. You need to use SET_TIMEZONE with DATETIME_FORMAT
See the formula field reference for more info.

5 - Automation Enthusiast
5 - Automation Enthusiast

Im a complete beginner, I don’t understand where in my current formula I need to use the timezone part of the formula

Hey @Keith_Landale

Here’s more info on using DATETIME_FORMAT AND SET_TIMEZONE

so your formula will look something like this:

    Date, 'America/Los_Angeles'),
  'M/D/Y h:mm A'

Here’s a list of timezone specifiers and examples

Hannah - - Automated Backups for Airtable