Handling day ranges

need to think about hour, half hour, week, month etc.