Convert UTC Date & time to another timezone in Oracle Integration Cloud Service(ICS)
Oracle ICS comes with out of the box XSLT function adjust-dateTime-to-timezone that alows to convert one timezone to another timezone.
Whenever we tried to get the current time in Oracle ICS, it gives the time in the universal format.
In this blog, we’ll show how to convert UTC to IST timezone using the XSLT functions.
We’ll assume that we already have one Scheduled Integration in ICS and use the same integration to convert the UTC to IST(India Standard Time).
Drop an assign activity on the integration canvas and provide name DateTime.
Create one variable currentdate in the assign activity. Assign the below expression:
xsd:dayTimeDuration(‘PT5H30M‘)))
In the expression, PT5H30M tell us the expected conversion timezone. It increases the UTC time to 5 hours 30 minutes(5H30M) ahead. We have taken 5H30M because IST timezone is +5:30 ahead to the UTC time.
Same ways if we want to change in another timezone we can use the same expression to get the expected time zone.
This is amazing and awesome,Thanks for sharing
Oracle SOA Online Course Bangalore
Great Explanation and more useful for anyone.Thanks for sharing…
oracle course in chennai
Hey Nice Blog!! Thanks For Sharing!!!Wonderful blog & good post.Its really helpful for me, waiting for a more new post. Keep Blogging!
Web Design Training
Thankyou for sharingerp software companies