New Field type : Duration

I can’t tell you enough how stunning the project is ! Many thanks for the whole team.

I’m wondering if is it possible to add a “Duration” field type (like “Time” field) in order to use it to make calculations for durations (flying hours and minutes) (HH:mm) (sum and substract operations)

Can you use integer or number fields to calculate the difference with a timestamp?

I’m not a developer. I’m using nocobase with no code (docker method) so I don’t know if I can use codes in order to make calculation and then convert it to text HH:mm. Maybe I need to learn how to code in order to create a plugin to do it.

I believe you could use date (with time) type and use an integer to count minutes or seconds. OR use a start date&time, end date+time, then forumla type to subtract start from end, would get you the duration.

1 Like