|
Post by Alex Ivanovich on Oct 6, 2022 18:07:37 GMT
This code was made by Dave in the forum (FNPRG now closed) .
It calculates the current month and the date of publication and shows a notice, the margin and 60 days (I think) .
I wanted to know if it is possible to reduce or increase the days, example 15, 30, 45 days. The problem that I don't understand this part of the code concat(substring(/data/@unformatteddate,1,6),'00') This is the complete code <!-- Gli albi in uscita questo mese e prossimo --> <strong>Gli albi in uscita questo mese e prossimo</strong> [ <strong><span style="color:red;"> ##CMD:COUNT:book,publishdate><xsl:value-of select="concat(substring(/data/@unformatteddate,1,6),'00')"/>@dateacquired=##</span></strong> ]<img class="index_image" src="new.gif"/> <a href="BookList.xsl?publishdate>{concat(substring(/data/@unformatteddate,1,6),'00')}@orderby=series,releaseno@xslparam:doctitle=Albi In Uscita questo Mese@dateacquired=" target="_blank"><xsl:text>Vedi</xsl:text></a> <!-- Gli albi in uscita questo mese e prossimo --> Thank you
|
|