You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Orbeon Forms
Hi,
I have a simple formula that determines a time duration using 2 time formatted fields and returns a time duration. xs:time($time_off) - xs:time($time_on) eg returns PT1H49M30S. We want to be able to display the duration in a more user friendly output such as 1 hour, 49 mins, 30 sec. Currently I'm was looking at using the substring function to target the time tokens of the duration but I wondered if anyone knew of another way.
Cheers
Jamian
Alessandro Vernet
unread,
Oct 14, 2020, 2:12:06 AM10/14/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to orb...@googlegroups.com
Hi Jamian,
You can use the component extraction functions on durations (see 1st link
below), for instance the following would return 49.