1. Calculate the date of the nth occurence of a weekday: For testing and verification:
Year 2008 Basic formula: March, 2008
Month No. (1-12) 3 Friday, March 21, 2008 Sun Mon
Day No. (1-7) 6 With error handling:
Nth Occurrence (1-5) 3 Friday, March 21, 2008 2 3
9 10
Calculate the last occurrence of a weekday: 16 17
Year 2008 23 24
Month No. (1-12) 3 Friday, March 28, 2008 30 31
Day No. (1-7) 6
3. Which Day Month Year Calculated Date For testing and verificati
1st Sunday March 2009 March 1, 2009 Ma
2nd Tuesday February 2009 February 10, 2009 Sun
3rd Friday March 2009 March 20, 2009 1
4th Friday April 2009 April 24, 2009 8
Last Friday June 2009 June 26, 2009 15
22
29
4. Convert words to numbers: 1
1 3
For testing and verification: (not necessarry for the formula)
March, 2009
Mon Tue Wed Thu Fri Sat
2 3 4 5 6 7
9 10 11 12 13 14
16 17 18 19 20 21
23 24 25 26 27 28
30 31