AshikHusein
Registered User.
- Local time
- Today, 06:23
- Joined
- Feb 7, 2003
- Messages
- 147
A simple solution to this seems to be eluding me.
I have time fields in a table. I want to create another column which rounds of the time to the previous half hour.
For example if it is 7:25 AM then that should map on to 7:00 AM
On the other hand if it is 7:45 AM then it should map on to 7:30 AM.
Would appreciate an insight into this.
At the moment I am using DatePart function and things of that sort which literlly ends up converting the time to a number.
I have time fields in a table. I want to create another column which rounds of the time to the previous half hour.
For example if it is 7:25 AM then that should map on to 7:00 AM
On the other hand if it is 7:45 AM then it should map on to 7:30 AM.
Would appreciate an insight into this.
At the moment I am using DatePart function and things of that sort which literlly ends up converting the time to a number.