Help

Re: Datetime_format() showing wrong day

Solved
Jump to Solution
2243 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Hunter_Reynolds
6 - Interface Innovator
6 - Interface Innovator

Hi. I’m trying to use DATETIME_Format() inside of a formula field to display the day in which an order was placed.

image

These are the dates of the orders. For reference, the 18th took place on a Sunday.

image

The formula block is a very simple DATE_FORMAT() function, showing the day. However, it seems as if the date format is incorrect and is defaulting to GMT time (adding 4 hours to the time fields, causing the time to roll over to the next day). I don’t know how to fix this, and I can’t change it because under formatting it says:

image

Can someone please help?! Thanks

10 Replies 10

SET_TIMEZONE() requires a string representing the name of the desired timezone. However, you’ve put quotes around the field reference, which turns it into a literal string representing name of the field. Text fields (long and short) already return strings, so just nix the quotes around the field name.