Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Q on date operations


  • From: javascript@xxxxxxxxxx (Walter Torres)
  • Subject: [Javascript] Q on date operations
  • Date: Tue, 23 Jul 2002 23:29:35 -0700

I have 2 last items to mark off before the formatDate method is ready.

Any one know how to calculate...

    The second Wednesday of the July
     - I can get the day of the week as a name
       - both long and short string version
     - I can get the month as a name
       - both long and short string version

    I just can't get how many wednesdays this date is?


Also, closely related

    The second week in July

    This may, or may not be the same as above!

Take this month as an example.

The Second Sunday of the month is in the 3rd week of the month.

OnceI get these, I will post the entire 'formatDate' method for your
enjoyment.

Walter