You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OIC- date format conversion issue

edited Sep 25, 2018 1:54PM in Integration 5 comments

Summary

Issue with the conversion of Date format

Content

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!