I'm new to the forums and am hoping someone can help. I have date data stored in a table as 8 digits YYYYMMDD. I basically need to group data by month using a mid-month cutoff - for example, everything between 20101016 and 20101115 would be grouped as 201011. I've written the following as a...