Hi,
I have a requirement to define all Saturdays/Sundays of every month in a year as holidays. I am making use of Date::Manip package available in perl.
I tried writing a recurrence as :
0:1*3:7:0:0:0 --> this relation helps me to define 3rd Sunday of a year as sunday.
My requirement is to define a single recurrence relation for all Saturdays/Sundays.
Any help will be highly appreciated.
otheus
2
From the Date::Manip man pages....
So you need a non-zero week, an asterisk, and a comma-separated list of non-zero days. I haven't tried this, but I think this would work:
0:0:1*6,7:0:0:0