Difference between revisions of "Is today the 2nd Tuesday of the month"

From RiceFamily Wiki
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 02:33, 16 February 2016

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?