Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Juggernaut

Round to Nearest 15 mins

Featured Replies

Hi,

I am trying to round up time to the closest 15 mins.

Fields:

Service Start Time

Service Stop Time

Billable Time = (Service End Time - Service Start Time)/60

I want Billable time to round up to the closest 15 mins.

In other words I want billable time of 61 mins to equal 75 mins. I want 5 mins to equal 15 mins, etc...

Thanks!

dmg

Try:

Ceiling ( ( Service End Time - Service Start Time ) / 900 ) * 900

It's not clear to me why your calculation divides the result by 60.

  • Author

Sorry I should have been clearer.

I want the billable time to display in .25 intervals of hours. So 62 mins of billable time should equal 1.25 billable hours, 35 mins of billable time should equal .75, and so on...

I changed the calculation to:

( Service End Time - Service Start Time )/3600

The calulation I gave above rounds time up to the next quarter-hour, and the result is TIME.

If you want the result in hours, make the result a NUMBER and use:

Ceiling ( ( Service End Time - Service Start Time ) / 900 ) * 0.25

  • Author

Michael - That is perfect!

Thanks!

dmg

Edited by Guest

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.