Is today the 2nd Tuesday of the month

From RiceFamily Wiki
Revision as of 02:33, 16 February 2016 by Rice0009 (Talk | contribs) (Created page with "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 solv...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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?