How to convert a string representing some date value to an XML xs:dateTime or xs:date format (Doc ID 2113459.1)

Last updated on MARCH 16, 2016

Applies to:

Oracle Business Process Management Suite - Version 11.1.1.3.0 to 12.2.1.0.0 [Release 11gR1 to 12c]
Information in this document applies to any platform.

Goal

I have a date / time value stored in a string variable but my Human Task or external service expects this in XML date format, not a string.  I tried associating directly the string to date but it didn't work. How do I convert it ?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms