day_in_week
static int day_in_week(int, int, int);
dw = day_in_week(1, month, year);
diw = day_in_week(reform->date, reform->month, reform->year);