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.

Featured Replies

I'm writing a script that creates a number of 15-min periods (Timeslots) over a period of days.

I have been successful with the First Day (e.g. ((Time( 24, 00, 00) - CalItem_Start_Time)/60)/15) and the Next Day(s) but have run into a dead-end when trying to get the Timeslots for the Last Day.

I have an End Time and want to take the End Time from Midnight but cannot get my head around it.

Can anyone help?

Try 00:00 and see if that helps

FMP stores time as the number of seconds from midnight.

  • Author

Thanks for your response, Lee but the zeros don't reduce my End Time data (e.g. End Time = "11:30" less "00:00" still gives me "11:30")

  • Author

Lee, I think I've got it.

If I treat the End Time as a number in a calculation (Field:"End Time" Result: Number) and then divide it by 60 to get the minutes so that "11:30" - using the 24-hour clock - gives me "690" (likewise, "23:30" gives me "1410") I am now able to get my 15-minute periods from the previous midnight (Midnight = "00:00") simply by dividing 690 by 15.

Thanks to you and Vaughan for your help.

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.