You need to:
Note that the modulus operator % only works with integers. In practice, you can probably ignore the fraction of a minute that gets thrown away. If you can't, then you'll need to write your own remainder function.
In reply to Re^3: Round time to nearest 15 or 30 minutes
by DrHyde
in thread Round time to nearest 15 or 30 minutes
by jesuashok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |