Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

Date formula problem

Topic Labels: Formulas
261 3
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi
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……
image

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.

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:

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

Here’s a list of timezone specifiers and examples