Platinum Partner

Date.isleap


Date.isleap = function(year){
 return ((year % 400) == 0) ? 1 :
        ((year % 100) == 0) ? 0 :
        ((year % 4)   == 0) ? 1 :
         0;
}
Date.prototype.isleap = function(){
    return Date.isleap(this.getFullYear())
}
// isleap current year
new Date().isleap()
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}