Salesforce.com (SFDC) date time format

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
anu123
Premium Member
Premium Member
Posts: 143
Joined: Sun Feb 05, 2006 1:05 pm
Location: Columbus, OH, USA

Salesforce.com (SFDC) date time format

Post by anu123 »

date/time does not match across SFDC and DB after ETL process.


example:

SFDC created_date = 2009-01-28T06:28:58.000Z
DB Table created_date = 2009-01-28 11:28:58

As per the documentation SFDC stores date/time in UTC format. But after ETL process there is 5hr difference between SFDC and DB dates.
When I googled, I found UTC-5hr = EST but in my case it appears to be UTC+5 = EST.

Any one noticed similar behavior?

thanks in advance.
Thank you,
Anu
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

How did your ETL process the date? That is, precisely what transformations were effected?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Please also tell us what database this is and what your target column's data type is.
-craig

"You can never have too many knives" -- Logan Nine Fingers
anu123
Premium Member
Premium Member
Posts: 143
Joined: Sun Feb 05, 2006 1:05 pm
Location: Columbus, OH, USA

Post by anu123 »

chulett wrote:Please also tell us what database this is and what your target column's data type is. ...
Thanks Craig.
Target database is Oracle 10g. Target column data type is 'TimeStamp'.
Thank you,
Anu
anu123
Premium Member
Premium Member
Posts: 143
Joined: Sun Feb 05, 2006 1:05 pm
Location: Columbus, OH, USA

Post by anu123 »

ray.wurlod wrote:How did your ETL process the date? That is, precisely what transformations were effected? ...
Ray,

ETL does not have any transformations. It is very basic ETL which has three stages as below.



SFDC_Stage------->Transformer------------->Oracle Enterprise Stage.
Thank you,
Anu
Post Reply