How to display correct time by compensating GMT effect?


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