search for: second_to_last

Displaying 1 result from an estimated 1 matches for "second_to_last".

2008 Nov 10
3
Runt Recurring events
...ssion using the day name with respect to its order in the month. So, for example, you can say I want a recurring event for the first Tuesday of every month and that would look like this: r = Runt::DIMonth.new(First,Tuesday) You are allowed to use these orderings: (first|second|third|fourth| last|second_to_last). So this will allow me to do the expressions every other week and once a month. But my question is, does anyone have a fast clean way of figuring out the ordering of a day within the month given its date. So, for example, if I have the date November 20th, 2008 and I want to figure out if that i...