Date to Day Conversion

April 22, 2009 by jared 

Here is a Date helper class that

  • converts a date to a day
  • finds out the number of days in a month
Get Adobe Flash player

Have fun deciphering this one.

Click here to download the sample files.

Comments

2 Responses to “Date to Day Conversion”

  1. yacob on May 10th, 2009 3:58 am

    Sweet.

  2. Brian on December 15th, 2009 8:25 pm

    you’ll want to change your code for checking if it’s a leap year to:
    ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!