How to get last day / date of a month using XSL
Below are the steps used for achieving it. I have used Xsl variables so that it becomes easier to understand.
- Create a month and year variable.
- Add Choose xsl node where we will have one when condition (to check whether month is Feb and year is leap year or not) and in otherwise we will simply get the date. Below is the Xsl source code -
Thats it. You can test the same in Jdev itself and verify.