Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

date format function in xquery - osb

1060198Dec 13 2013 — edited Dec 13 2013

Hi

I want to assign current datetime to </DateTime> node in the following format in an xquery mapping file

<DateTime>2013-09-10T06:49:12Z</DateTime>

I have tried to do it as follows but it gives error

   <DateTime>{fn:format-dateTime(fn:current-dateTime(),"[Y01]-[M01]-[D01] T[H01]:[m01]:[s01]:[f01]Z")}</DateTime>

   <Destination>ERP</Destination>

   <Sender>CRM</Sender>

Thanks in advance... can someone help me on this

This post has been answered by Jahangir Pasha on Dec 13 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2014
Added on Dec 13 2013
1 comment
4,039 views