Having the feilds {{event_ends}} and {{event_begins}}, shouldnt there any way to calculate an events duration?

fields:
  event_begins:
    display: Event begins
    type: time
  event_ends:
    display: Event ends
    type: time
{{event_ends}}-{{event_begins}}={{event_lasts}}

whith or without reformatting:

{{event_ends|format:U}}-{{event_begins|format:U}}={{event_lasts|format:U}}

There has to be a way to do math with the outcome of two differen fields... right?

Or if there was a dedicated eventsfield holding the startingtime and endingtime within itself and therefor being able to do the math.

Any thoughts?

/David

Answered by David Slattne! Go to answer.