We have Sterling B2B Integrator for our EDI processing. I have a need to add the date to a file name, however, I need to assign yesterday's date and have not found a good option. I'm too new to xslt to figure it out.
It is in xlst 1.0. It looks like we have a date extension - xmlns:date="http://exslt.org/dates-and-times
I have this set up in our style sheet which works to give me the date for when it's run. Any non complex suggestions on how to get this to be yesterday's date?
<xsl:variable name="CUSTOM4">
<xsl:value-of select="date:format-date(date:date(),'yyyyMMdd')"/>
</xsl:variable>