Skip to Content
0
Former Member
Feb 17, 2009 at 06:45 PM

Substract one day to a date in a XSLT mapping

1530 Views

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