Are leap years handled automatically?
Yes. The calculator uses the JavaScript Date object, which follows the Gregorian calendar rules — February has 29 days in leap years (years divisible by 4, except century years not divisible by 400), and this is accounted for automatically in every calculation.