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.

time interval calculation

Featured Replies

I've got start and end time fields and am trying to work out a way of seeing if another time field falls within the start / end duration ie start=9:00am, end=10am, LookupTime=9:32am is LookupTime inside or outside the interval?

thanks

How about:

StartTime ≤ LookupTime and LookupTime ≤ EndTime

Note that this assumes all times are within the same day - i.e. no midnight crossing.

  • Author

geeez, easy when you know how, thanks ... and yep always will be on the same day

geeez, easy when you know how, thanks ... and yep always will be on the same day

It's easy enough to include start and end date fields so that the method will work when somebody works late and goes until 1:00 am.

  • Author

the other thing I'm trying to do is see if there's an overlap between the start / end times on different records ie record1 - start=9am, end=10am ... record2 - start=9:55am, end=10:30am ... there's a 5 minute overlap.

not sure if I should be trying to do this with conditional formating to highlight the overlap, or via a portal showing the 2 obverlapping records

See if this helps:

http://fmforums.com/forum/topic/61691-please-help-very-simple-calendarappt-manager/page__p__291727#entry291727

not sure if I should be trying to do this with conditional formating to highlight the overlap, or via a portal showing the 2 obverlapping records

That's entirely up to you - you need the identifying relationship in any case.

  • Author

that looks exactly like what I'm trying to do, thanks heaps

  • Author

that worked fine, thanks again

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.