In my process the "Customer" CDT is having a date and time field "ActivationDateTime" when I see this pv! in process instance it shows correct time for example if the user has selected the "ActivationDateTime" as 12/07/2017 4:00 PM it shows correctly in the process,but the problem is when I pass this in a rule it shifts one hour back, in my case I pass this in a rule to generate a statement such as "The Customer activation is done on "&ri!ActivationDate now even though in process the pv! is having value as Customer.ActivationDateTime="12/07/2017 4:00",
my rule will return result as "The Customer activation is done on 10/07/2017 3:00" I guess this is due to gmt time stamp as I have observed that the date time in expression rules is displayed as 12/07/2017 04:00 GMT+01:00 how do I compensate this as I need to generate statements with correct time.
Discussion posts and replies are publicly visible
I know this is an old thread but I stumbled upon it while searching for something else. We have guidance on handling dates and times in the Playbook, please review for additional guidance: https://community.appian.com/w/the-appian-playbook/983/handling-date-and-time
Agreed that this is a tricky topic, the article should clarify the options.
© 2022 Appian. All rights reserved.