Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I would like to convert a time to a format like this:
"46h 25min"
So basically, I want the number to exceed the 24 hours in the hour AND HAVE "h" and "m" as values in my textfield.
I have no clue how to do this... Tried too many things already so looking for help 🙂
for example, I have this:
04:04:38
This would need to become:
"4h 4min"
with the option to exceed the 24 hours if it would be more.
Any thoughts?
Kind regards,
Christophe
Hi Christophe, can you try?:
=Interval(TimeField, 'hh') &'h '& minute(TimeField) & 'm ' // To add seconds: & Second(TimeField) & 's'
Hi Christophe, can you try?:
=Interval(TimeField, 'hh') &'h '& minute(TimeField) & 'm ' // To add seconds: & Second(TimeField) & 's'
Hello,
take a look at a file sample. I used Dual() function
You can find Dual() used in load script and in chart's expression. Pick whatever you want .
Please take a look at number settings in both document and chart properties.
cheers
Thanks, this worked like a charm!