TIME ZONE

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
RK72
Participant
Posts: 154
Joined: Wed Sep 29, 2010 4:10 pm

TIME ZONE

Post by RK72 »

HI
My source table has the field which has date and time which is coming from oracle so it is in the GMT time format so i want to convert it into CST. So i like to minus it by 6 hours so i like to know how can we do that in a transformer.

EX
source
2013-01-19 10:02:46

Like to see it as
2013-01-19 04:02:46

What would be the exact code to convert it.

Thanks
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

Have you looked at the Date and Time functions available in your version of DataStage to see what might appear to be appropriate?

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
Post Reply