Track durations in a table and calculate hours

Enter a duration in days, hours, and minutes, then use a formula to express the same value in hours.

Use a Duration field for elapsed or estimated time. For example, in a maintenance tracker, record how long an inspection is expected to take. You need permission to manage the table’s fields to add the duration or formula.

Add and test a duration field

  1. Open Settings → Database and select the table. In the database sidebar, open Fields, select Duration, and give it a Display name such as Estimated time. Check Form and Columns in the field grid to make it available in the record form and table grid.
  2. Open a record for editing, find Estimated time, and enter 1 under hours and 30 under minutes. The duration preview should read 1h 30m. For a duration that spans whole days, enter them under days when that input is shown.
  3. Select Update and reopen the record to verify the saved duration.

Express the duration in hours

Mainbase stores a duration as a number of seconds. To express it in hours, add a Formula field called Estimated hours. In its Options cell, select Configure. Type @, choose Estimated time, and add / 3600 after the reference. Keep the field reference inserted by the editor.

In Result, find the sample record and check that its 1h 30m duration gives 1.5. Preview another record before saving. In the table, keep both columns visible if your team needs to read the original duration and use the hours in calculations.

Track elapsed time with a Timer field

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy a question to get started

  • How do I create a Kanban view?
  • How do I invite a teammate?
  • Why is a record missing from this view?