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
Have fun deciphering this one.
April 22, 2009 by jared
Here is a Date helper class that
Have fun deciphering this one.
2 Responses to “Date to Day Conversion”
Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!
Sweet.
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)