Welcome to MSDN Blogs Sign in | Join | Help

Happy Leap Day

2008-februaryGotta love a good Leap Day!

I remember one of the first bits of code I wrote during my first year of computer science was a data validation and we used this canonical bit of pseudocode

if (year modulo 4 is 0) and ((year modulo 100 is not 0) or (year modulo 400 is 0)) then leap else no_leap

Hope you get to put your extra day of the year to good use. 

Me?

I'm going to the gym tonight for an extra little workout. Maybe take the family out for some dinner.

Technorati Tags:
Published Friday, February 29, 2008 10:07 AM by frankarr
Filed under:

Comments

Saturday, March 01, 2008 3:12 AM by Darren Neimke

# re: Happy Leap Day

I love the look of that Pro club Frank... is that your new office? :)

Saturday, March 01, 2008 3:55 PM by frankarr

# re: Happy Leap Day

darren - its becoming my home away from home

Sunday, March 02, 2008 6:37 AM by Darren Neimke

# re: Happy Leap Day

Great stuff Frank... and good to 'see' you again by the way (on the interview with delic8genius the other day).

Cheers!

PS: Saints or Crows? :-)

Sunday, March 02, 2008 2:36 PM by frankarr

# re: Happy Leap Day

darren - there is only one answer i can give to that question - saints of course, by a supergoal!

New Comments to this post are disabled
 
Page view tracker