Constants here would be good :-)

MODE_YEAR, MODE_MONTH etc