do we have thirty first day on this month
datetime_query