My Oracle Support Banner

Convert UTC To IST Issue (Doc ID 2329915.1)

Last updated on NOVEMBER 21, 2017

Applies to:

Integration Cloud Service - Version N/A and later
Information in this document applies to any platform.


We are trying to convert the current date and time(UTC)into IST using ICS function fn:adjust-dateTime-to-timezone. but getting the below issue:

0Invalid XPath expression.
an error occurs while parsing XPath expression string(fn:adjust-dateTime-to-timezone($ics_api_internal_variable/../nssrcmpr:schedule/nssrcmpr:startTime,fn:dayTimeDuration("PT5H30M")))
The XPath expression was invalid; the reason was: Parse Error in dayTimeDuration function..
Check the detailed root cause described in the exception message text and verify that the XPath expression named in the error message is correct. The XPath expression is defined in the BPEL process.

Below is the xpath i have used to convert UTC to IST:

string(fn:adjust-dateTime-to-timezone(/nssrcmpr:schedule/nssrcmpr:startTime, fn:dayTimeDuration('PT5H30M')))


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.