output months as int