Friday, February 29, 2008

The leap

First of all..Many Happy Returns of the day to everyone who were born today ! Good to know that you grow an year older officially once in only 4 years..I wonder how well u would celebrate it to make worth of the wait :P

February 29th.The extra day.This date reminds me always of the frustration i faced/face while working on Calendar based problems in Aptitude.

The concept:February 29 is a date that occurs only every four years, in years evenly divisible by 4, such as 1988, 1996, 2008 or 2016 (with the exception of century years not divisible by 400, such as 1900).

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

Few interesting facts :
* There is a tradition that women may make a proposal of marriage to men only in leap years, further restricted in some cases to only February 29.
* In 1712,February 29 is followed by February 30 in Sweden, in a move to abolish the Swedish calendar for a return to the Old style.
* A person who was born on February 29 may be called a "leapling". In non-leap years they may celebrate their birthday on 28 February or 1 March.

Edit : In a few years from now..May be for the next leap year, i wish to see myself 4 folds from what i am now,in thought,in writing,in knowledge,in my purse if u want me to add, but not in physical size mind you.

The quiz : Someone prominent from India was born/passed away on Feb 29th.. Any idea ??

Wanted to make a post on feb 29th..I wish i improve in my frequency of posting and the substance of the posts for the next feb 29th..

No comments: