Sep 20, 2021 06:26 PM
Hey everyone! I’m creating a column in a table where I’m concatenating a date field (formula driven), client name and default text. The result of the concatenate is adding an extra day to the formula driven date. Below is the formula and I uploaded an image of the dates reflecting the additional day. Any insight on what’s causing this? It’s so weird!
Formula in the concatenate field: CONCATENATE(DATETIME_FORMAT({Monthly Rental Fee Renewal Date},‘MM-DD-YY’)," | “,{Client Name},” | ",“Rental Fee Renewal Date”)
Sep 20, 2021 07:30 PM
The most likely answer is it having to do with timezones. Use the SET_TIMEZONE()
function to force a particular timezone. The format would be something like
DATETIME_FORMAT(
SET_TIMEZONE({Monthly Rental Fee Renewal Date}, "America/Los_Angeles"),
"MM-DD-YY"
)
Sep 20, 2021 07:59 PM
Thank you! This is what I have and it isn’t working:
CONCATENATE(DATETIME_FORMAT(SET_TIMEZONE({Monthly Rental Fee Renewal Date}, “America/Chicago”),‘MM-DD-YY’)," | “,{Client Name},” | ",“Rental Fee Renewal Date”)