g_leap_year
g_leap_year((yr), 3, 1))
g_leap_year(y, m, d))
mdays = days_in_month[g_leap_year(year, 3, 1)][month];