Originally posted by: akitcan
Hey,
i need to generate a datetime as a format of "2010-11-08T11:43:12.728+00:00". to implement it, in xsl transformation i used a custom map and direct in a specific java code. Java code specified below.
public static String convertDateTime()
{
DateFormat to = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS+00:00");
to.setTimeZone(TimeZone.getTimeZone("GMT"));
return to.format(new Date());
}
i could test it with using of "test map" in xsl transformation also check it the value on console so the class works correctly
However, when i try to test it on mediation module, WID (Websphere Integration Developer) transforms the format of the date time as "2010-11-08T13:48:48.395 +0200"
Also, i tried to set the value of the datetime on Message Setter Element but WID transforms the datetime as same format on mediation module test.
what should i do to handle this exception
Thanks
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender