Business requirement to convert PST time to UTC time in collaboration messaging
Summary:
Business requirement to convert PST time to UTC time in collaboration messaging
Content (please ensure you mask any confidential information):
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