Hi,
I'd like to organize my data based on a datatime field grouped by 30 minute intervals.
I'm thinking about using a CASE statement that would look at the minute and if 0..30 then it would get 1, otherwise it would get 2...so 1 is the first half hour, and 2 is the second half hour. There are probably easier ways to do the 30 minute intervals.
Any suggestions on how to do this?
I'd like to organize my data based on a datatime field grouped by 30 minute intervals.
I'm thinking about using a CASE statement that would look at the minute and if 0..30 then it would get 1, otherwise it would get 2...so 1 is the first half hour, and 2 is the second half hour. There are probably easier ways to do the 30 minute intervals.
Any suggestions on how to do this?