values allowed for time function in group by clause