Consolidating a date-time value into quarter hourly segments