Skip to Main Content

DevOps, CI/CD and Automation

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!

stylesheet: date of loading minus 4 days

BjornlaatMay 19 2022

We would like to know how to solve the following problem.

For sending certain emails, stylesheets have been designed using XSL version 1.0

Here we want to make a timestamp minus 4 days visible in the email, but this does not seem possible. does somebody know how we can solve this?

Example: loadingdate = 2022-05-19 14:57:00 and the result we want to see back in the stylesheet is this timestamp - 4 days which results in: 2022-05-15

the XML code we use to retrieve the load date in the stylesheet is: <xsl:value-of select="/notify/Blob/xml/TenderOffer/Shipment/ShipmentStop[StopSequence='1']/DepartureTime/EventTime/PlannedTime/GLogDate"/>
The stylesheet uses version="1.0"

Comments
Post Details
Added on May 19 2022
0 comments
158 views