The Duration field in Baserow is specifically designed to store time durations measured in hours, minutes, seconds, or milliseconds.
In this section, we will explore the duration field in Baserow, ideal for tracking time-related data like task durations, call lengths, event lengths, video lengths, etc.
You can use this field to easily store information about the duration of projects, tasks, or meetings, and perform further manipulations with this data.
The duration field type supports negative values.
To add a duration field,
+
to the right of your existing fields.You can set your preferred duration format from the drop-down options in the field configuration menu.
Formats for days:
Duration fields allow you to perform basic mathematical operations directly within the formula editor. This enables you to manipulate time values for calculations and analysis.
*
): Multiply the duration by a number. This is useful for scaling durations, for example, doubling a task duration./
): Divide the duration by a number or other durations. This can be used to calculate durations based on ratios or percentages.Use formats displaying date intervals in days in formulas such as
today() - field('date')
.
The tonumber
function allows you to convert a duration field into its equivalent number of seconds. This is useful when calculations require a standard unit of time. You can combine formula operations with tonumber
to perform complex calculations on durations.
Still need help? If you’re looking for something else, please feel free to make recommendations or ask us questions—we’re ready to assist you.