Datecalculation 2

  • 183 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
183
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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
  • 2. r testing and verification: March, 2008 Tue Wed Thu Fri Sat 1 4 5 6 7 8 11 12 13 14 15 18 19 20 21 22 25 26 27 28 29
  • 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