[xsl] Computed dateTime

Subject: [xsl] Computed dateTime
From: "Peter Flynn peter@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 12 Apr 2024 20:04:42 -0000
I need to do a number of calendar-based computations involving events determined by formulas such as "third Tuesday of the month" or "5th of the month provided it is not a Friday". It would be convenient to do them in the XSLT, although they could be done in a shell script pre-processor.

Before I go reinventing any wheels, is there a function I have missed like weekdayinMonth($date as gYearMonth)[1] to return the date of the first Sunday in the specified month and year?

Peter

Current Thread