Page 1 of 1

Salesforce.com (SFDC) date time format

Posted: Tue Feb 23, 2010 9:56 pm
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.

Posted: Tue Feb 23, 2010 10:48 pm
by ray.wurlod
How did your ETL process the date? That is, precisely what transformations were effected?

Posted: Wed Feb 24, 2010 8:06 am
by chulett
Please also tell us what database this is and what your target column's data type is.

Posted: Fri Apr 02, 2010 2:58 pm
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'.

Posted: Fri Apr 02, 2010 3:01 pm
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.