Functions for Holidays in MySQL/MariaDB

Here are a few handy calendar functions for US Holidays: Create FUNCTION dateEasterSunday (p_year int) RETURNS date DETERMINISTIC BEGIN declare p_day int DEFAULT 0; declare p_month int DEFAULT 3; declare p_g int DEFAULT 0; declare p_c int DEFAULT 0; declare p_h int...