OIC- date format conversion issue
Summary
Issue with the conversion of Date formatContent
I'm trying to schedule the integration with timing provided (OIC schedule start time - 30 minutes).
I have used the code as below,
<xsl:value-of select = ('xsd:dateTime(/nssrcmpr:schedule/nssrcmpr:startTime) - xsd:dayTimeDuration("PT30M")')>
Getting response : 2018-09-25T10:33:10.337Z
Expected: 2018-09-25T11:03:10.337+00:00
Even tried the below snippet as,
<xsl:value-of select = adjust-dateTime-to-timezone(xs:dateTime(/nssrcmpr:schedule/nssrcmpr:startTime) - xs:dayTimeDuration("PT30M"))>
but of no use, please suggest the solution for this issue.
Thanks in advance.
Tagged:
0