                 )
             ,   '%Y-%c-%e'
             );
-
 END $$
 
 DELIMITER ;

    DECLARE m    SMALLINT DEFAULT (a + 11*h + 22*L) DIV 451;
    DECLARE v100 SMALLINT DEFAULT h + L - 7*m + 114;
        
    RETURN  STR_TO_DATE(
                CONCAT(
                    p_year
                ,   '-'

-- 
-- Returns DATE of easter day in given DATETIME's year
-- 
-- Example:
--
-- SELECT easter_day('2011-01-01');
-- Returns: '2011-04-24' (as DATE)
--

DELIMITER $$
