Is today the 2nd Tuesday of the month

From RiceFamily Wiki
Jump to: navigation, search

If you want to answer questions like 'is today the 3rd tuesday following the most recent 2nd tuesday of the month', you need to worry about rolling across months. You can solve that using relevance like this:

(it = first tuesday of month_and_year of it + 1 * week) of (current date - 4 * week)

The above will tell you, "was 4 weeks ago from today the second Tuesday of the month? " a.k.a, has it been exactly 4 weeks since Microsoft released patches?