I think you have to create a calendar object, then use the DAY_OF_WEEK_IN_MONTH field to find out what the month starts with, compute the first Sunday, and add 7.
For the first Sunday in month, the smallest possible value is the 1. day in month - the biggest is 7.
Therefore the 2nd Sunday has to be something between day 8 to 15.
Check out day-of-week for Day 8, and add some days accordingly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.