group_by_day_of_month

Tested in Postgres and Mysql (for https://github.com/ankane/groupdate/issues/40)