parsemonth
static int parsemonth(const char *s, int *m, int *y);
if (parsemonth(flag_month, &m, &y)) {