Custom field time duration

  • David Unwin
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
3 weeks 2 days ago #132900 by David Unwin
Custom field time duration was created by David Unwin
On some categories of events we would like to create a field showing the duration of an event ie Endtime - Starttime.
I can't see in custom fields how to define a field with time (hh:ss).
Has anybody ever tried this?

Please Log in or Create an account to join the conversation.

More
3 weeks 2 days ago #132902 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom field time duration
Hi David

Just create event custom fields (type Text) and enter the text you want there to display that event duration

Tuan

Please Log in or Create an account to join the conversation.

  • David Unwin
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
3 weeks 1 day ago #132951 by David Unwin
Replied by David Unwin on topic Custom field time duration
Hi Tuan,
Is it possible to calculate this field from the Start and End times of the event
ie duration = eventenddatetime-eventstartdatetime
eg duration is 3 if eventstartdatetime is 20mar2020:17:00:00 and eventenddatetime is 20mar2020:14:00:00

David

Please Log in or Create an account to join the conversation.

More
3 weeks 1 day ago #132965 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom field time duration
Hi David

Unfortunately, it's not possible. The extension does not support calculation field like that

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc