Datetime set with Groovy shows another datetime value in UI because of UTC - Preferred time zone difference (Doc ID 2126210.1)

Last updated on APRIL 12, 2016

Applies to:

Oracle Fusion Sales - Version 11.1.10.0.0 and later
Information in this document applies to any platform.

Goal

We are updating a Date Time custom field using groovy script

setAttribute('Call1_Esc_Time_c','2014-02-02 08:44:55')

But in the application it is showing 02-Feb-2014 12:44 PM

How can we display a datetime value set in Groovy in our preferred time zone, instead of UTC recalculating to preferred timezone?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms