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.

Portal row time calculation

Featured Replies

I have a mini dv database in this db I have for each portal row one scene with time code, my goal its to add up all the time of each scene. Please see picture.

portal sum.jpg

The time fields are split up in 3 fields. Hours Minutes and Seconds. Any ideas in how to calculate this task??

Thank You!

Hi,

In each portal row record you coulds make a calculated field that is the total of hours, minutes and seconds, expressed in seconds:

Hours * 3600 + Minutes *60 + Seconds

Assuming you'd call this calculation cLineTotalTime you could calculate the portal total of seconds via:

Sum(PortalRelation::cLineTotalTime). Let call this one cPortalTotal.

Now you need to calculate this portal total back to TotalHours, TotalMinutes and TotalSeconds as follows:

TotalHours = Hour(cPortalTotal)

TotalMinutes = Minute(cPortalTotal - (TotalHours * 3600))

TotalSeconds = Seconds(cPortalTotal - (3600 * TotalHours) - (60 * TotalMinutes))

Hope this helps,

Ernst.

  • Author

Thanks so much that worked perfect! If I use the time format in the field I dont even have to do your last step in converting the info!!

Thanks

tmas73 said:

If I use the time format in the field I dont even have to do your last step in converting the info!!

Smart!

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.