check for too many date arguments
define is_leap_year function