Lunch Should Be Longer

Work, Home, Rest, and Play...it's always a great day at work...

Monday, February 25, 2002

hmm...i must be a freakin' moron

because i really don't under stand...

assume:
year = 2002
month = 2 (february)
daysInMonth = 28

[(1 + y + (y / 4) - (y / 100) + (y / 400) + ( daysInMonth * month)] % 7

gives you the proper start day in the month....

0 Comments:

Post a Comment

<< Home