Tuesday, February 28, 2012

Confusing Week of Month with Nth Weekday of Month

Protip: Don't confuse computing the week of the month during which a day occurs with computing which Nth weekday of the month a day occurs (day/7 + 1 where day is the day of the month from 0-30).

No comments:

Post a Comment