Help

Save the date! Join us on October 16 for our Product Ops launch event. Register here.

Date formula problem

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

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.

Keith_Landale
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:

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

Here’s a list of timezone specifiers and examples

______________________________________
Hannah - On2Air.com - Automated Backups for Airtable