Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Duration using DB folder formulas. #1092

@to4711

Description

@to4711

Hello,

I want to get a duration from a start time column named startTime and an end time column named endTime. The times in these columns are strings in the format "HH:mm". For this I want to use the Luxon library. In order to do so I tried something like:

${
luxon.DateTime.fromFormat(this.endTime, "HH:mm").diff(luxon.DateTime.fromFormat(this.startTime, "HH:mm"), ["hours", "minutes"]).toFormat("hh:mm") }

But because this does not work and I am totally unable to get it to work I need your help!

Thank you all in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions