Rounding Times....

Results 1 to 2 of 2

Thread: Rounding Times....

  1. #1
    Join Date
    Dec 1969

    Default Rounding Times....

    Hi,<BR>I need to find a way of round a time to the nearest whole 15mins. For example if the time is 15:04 then the time needs to be rounded down to 15:00, however if the time is 15:11 the time needs to be rounded to 15:15....<BR><BR>Any ideas....?<BR><BR>Thanks in advance

  2. #2
    Join Date
    Dec 1969

    Default RE: Rounding Times....

    try some math:<BR><BR>devide the minutes by 15, round the resulting number to the nearest integer and multiply it with 15...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts