Author: littlened | Posted on: 8/12/2008 11:36:55 PM | Views : 290

I've built a small time tracking application which records how long we spend working on a project. We can choose to submit the time to our webserver where it's allocated against a chosen project. (it saves us having to log into the site all the time).

We like to round time up to the nearest 15 minutes. so 0:37 would become 0:45. The system works with seconds in the background, so what I'm looking for is a way to round the number of seconds up so that it's divisible by 900 (15 minutes).

Can anyone help?
...

Go to the complete details ...