Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Substract one day to a date in a XSLT mapping

Hi,

I need to map a ENDDA field to a new field but subtracting a day, and reformatting the date, e.g

from:

<ENDDA>20090213</ENDDA>

I need:

<ENDDA>12.02.2009</ENDDA>

For reformatting, sub string and concat with . is working, but how can I substract a day, including the handling where the date is the first day of the month?

thx for your inputs

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question