Attempts to Correct Timezone Ineffective

I’m having trouble getting DATETIME_FORMAT to work, and I can’t figure out what I’m missing.

My date field is in local time. I wanted to get week numbers from the date, which I have working fine, but it is seeing dates in UTC I think, and DATETIME_FORMAT did not work.

Formula: DATETIME_FORMAT(SET_TIMEZONE(Date,'America/Los Angeles'),'MM/DD/YYYY')

Referencing the red box you can see two entries with incorrect format. I’m a little stumped.

You misspelled the timezone indicator. It should be Los_Angeles (with an underscore), not Los Angeles (with a space).

3 Likes

Aha! I knew it was something simple. Thanks for the help.

This topic was solved and automatically closed 3 days after the last reply. New replies are no longer allowed.