pwinters
Programmer
- Sep 12, 2002
- 34
I am calculating how long a job runs using jsp & sql to query a MSAccess DB . I have a StartTime (6:14:33) and EndTime (20:07:23) and I have calculated the time TotalTime (=15:52:50).
Code:
Format((StartTime - EndTime), 'HH:MM:SS') AS TotalTime
My question is: Is there a way to
1.) Round to the nearest quarter hour? and
2.) Display the results as "16 hr 0 min"?
Thanks for your help
Code:
Format((StartTime - EndTime), 'HH:MM:SS') AS TotalTime
My question is: Is there a way to
1.) Round to the nearest quarter hour? and
2.) Display the results as "16 hr 0 min"?
Thanks for your help