Hi folks,
I cannot figure out why this formula is not outputting what I need. My current formula for the column is this:
IF({ETA (AMZ) Date}="",“Need ETA (AMZ) Date”,DATEADD({ETA (AMZ) Date}, (7 - (WEEKDAY({ETA (AMZ) Date}) - 2)),‘days’))
If there is a date in the ETA AMZ DATE column, mark as Need ETA (AMZ) Date. If there is a date, create new date + 7 days from existing date and to the nearest Tuesday.
When I use this formula, the output looks like this: 2021-01-26T00:00:00+00:00
SO, I’ve tried DATETIME_FORMAT
IF({ETA (AMZ) Date}="",“Need ETA (AMZ) Date”,DATETIME_FORMAT(DATEADD({ETA (AMZ) Date}, (7 - (WEEKDAY({ETA (AMZ) Date}) - 2)),‘days’)),‘MM/DD/YYYY’)
When I save the formula, it automatically removes the ‘MM/DD/YYYY’ leaving me with
IF({ETA (AMZ) Date}="",“Need ETA (AMZ) Date”,DATETIME_FORMAT(DATEADD({ETA (AMZ) Date}, (7 - (WEEKDAY({ETA (AMZ) Date}) - 2)),‘days’)))
This doesn’t solve my problem. What am I missing? How can I add the format formula to my existing formula to populate the date as MM/DD/YYYY?
