Sunday, February 28, 2016

Leap Year 2016




Clean Bandit: Rather Be Live


So we get an extra day in 2016 this year.   A leap year. I suppose in absolute terms I will not live 'an extra day'.

Nevertheless,  I dedicate today to a celebration, to all who read this and the fact that personally I am rather glad to 

Rather Be

as opposed to Rather Not Be

  

But Why is this a Leap Year?



http://www.telegraph.co.uk/news/uknews/12173502/Leap-Year-2016-Why-does-February-have-29-days-every-four-years.html

Is this a Leap Year?

Excel
=IF(OR(MOD(A1,400)=0,AND(MOD(A1,4)=0,MOD(A1,100)<>0)),"Leap Year", "NOT a Leap Year")

Perl
sub IsLeapYear { my $year = shift; return 0 if $year % 4; return 1 if $year % 100; return 0 if $year % 400; return 1; }


C
int isLeap (int year){
return (((year%4==0)&&(year%100!=0))||(year%400==0)) ;
}







And back to a Celebration of Being alive in 2016






Sigma: Redemption






LMFAO: Party Rock






ThePianoGuys: Paradise






Sculpting the Wind