joeygigs106
New member
- Local time
- Yesterday, 21:06
- Joined
- May 3, 2012
- Messages
- 5
Does anyone have a query that will put time in hour blocks for a 24 hour period?
Example: 13:45 would be put in "13:00 x 13:59"
Example: 14:15 would be put in "14:00 x 14:59"
I think it would look something like this but there might be an easier way:
Time Groups: IIf([Time] Between 13:00 And 13:59,"13:00 x 13:59",IIf([Time] Between 14:00 And 14:59,"14:00 x 14:59"))
and so on for 24 hours
Example: 13:45 would be put in "13:00 x 13:59"
Example: 14:15 would be put in "14:00 x 14:59"
I think it would look something like this but there might be an easier way:
Time Groups: IIf([Time] Between 13:00 And 13:59,"13:00 x 13:59",IIf([Time] Between 14:00 And 14:59,"14:00 x 14:59"))
and so on for 24 hours