Oracle Transactional Business Intelligence Forum

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Business requirement to convert PST time to UTC time in collaboration messaging

Accepted answer
13
Views
3
Comments

one of the vender using collaboration messaging to post the ASN IN messages. They have special requirement to convert date time from PST to UTC time zone.

They suggested to use this in collaboration messaging

<xsl:variable name="UTC-date" select="substring-before(adjust-dateTime-to-timezone(dateTime(concat(/cmk:processInboundCollaborationMessage/cmk:InboundCollaborationMessage/oa:ProcessShipment/oa:DataArea/oa:Shipment/oa:ShipmentHeader/oa:DocumentDateTime,'-07:00')),dayTimeDuration('PT0S')),'Z')"/>

 but we need current pst offset in place hard code value of -07:00 or -08:00 (by considering daylight savings). So how to get current pst offset by using xslt function

Tagged:

Best Answers

Answers