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.

Sort By Time With Variable Start

Featured Replies

Hi, not sure if this is possible but would greatly appreciate any ideas...

My records have a TIME field.

I want to be able to sort on this field, BUT, want to have a START time which the user can select. This would determine where the Sort would begin from.

For exmaple, with the following 5 times: 03:00, 06:00, 09:00, 22:00, 23:00

a standard sort gives: 03:00, 06:00, 09:00, 22:00, 23:00

but if the users decided that the Day Starts at 08:00, then the sort would return: 09:00, 22:00, 23:00, 03:00, 06:00

so it is kind of rolling sort.

Any ideas how I can go about this?

Define a calculation field =

Mod ( Timefield - gStartTime ; 86400 )

Use this field for sorting. Note that sorts using an unstored calculation will be a tad slower.

  • Author

That's perfect, and so simple! thank you

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.