Template:LYD

This template determines whether the input year (represented by ) was a leap year or not, and returns the number of days that would have been in that year, for mathematical use.