Thanks Amila, Afkham and Prabath. I use the timestamp to capture the time when a user call a service and store this information for audit. So in my DB I need the correct time, not time+4. It´s possible to change this behavior in carbon server?
Saludos, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. Fac. 5. UCI. De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En nombre de Amila Suriarachchi Enviado el: miércoles, 13 de julio de 2011 4:52 Para: carbon-dev@wso2.org Asunto: Re: [Carbon-dev] Issue with timezone On Wed, Jul 13, 2011 at 5:51 AM, Jorge Infante Osorio <jorg...@uci.cu> wrote: Hi folks. I have a problem with the time zone in my ESB server. When I start the server, in the UI I see the right time, for example: Server Host 127.0.0.1 Server URL https://127.0.0.1:9445/services/ Server Start Time 2011-07-12 18:48:49 Time zone America/New_York (GMT-05:00) But in the message timestamp I see the right hour + 4, in this case my time = 19:06 and in the timestamp is 23:06 <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit y-utility-1.0.xsd" wsu:Id="Timestamp-4"> <wsu:Created>2011-07-12T23:06:11.796Z</wsu:Created> <wsu:Expires>2011-07-12T23:11:11.796Z</wsu:Expires> </wsu:Timestamp> when serializing a time stamp xml serialize format is always relative to a time zone. Z indicate it is relative to GMT. I think this Four hour gap is due to daylight saving time. in other words 2011-07-12T23:11:11.796Z == 2011-07-12T19:11:11.796-04:00 thanks, Amila. Any idea on this? Saludos, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. Fac. 5. UCI. _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU! http://www.antiterroristas.cu http://justiciaparaloscinco.wordpress.com _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev