GoldenGate Date Function - Need Pick UTC Time Instead Of PST (Doc ID 2209227.1)

Last updated on JULY 17, 2017

Applies to:

Oracle GoldenGate - Version 11.2.1.0.4 and later
Information in this document applies to any platform.

Goal

Using a token to get timestamp in required format on source.

token code is - tokens (DF=@DATE("YYYY-MM-DD-HH:MI:SS.FFF","JTS",@GETENV("JULIANTIMESTAMP")))

storing the value into df variable.

Issue is - Its picking machine timestamp (Machine is AIX Box - which is in PST timezone),

Requirement : Need to take timestamp from UTC Time zone i.e 08:00 Hrs difference.
 

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