The function returns a text, similar to the function formatDuration(), but using the workday and workweek defined at time tracking configuration, instead of 24 hours per day and 7 days a week.
formatWorkDuration(duration) #Output: Text
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Next »
The function returns a text, similar to the function formatDuration(), but using the workday and workweek defined at time tracking configuration, instead of 24 hours per day and 7 days a week.
formatWorkDuration(duration) #Output: Text
Parser expression | Description |
---|---|
formatWorkDuration(5 * 8 * {HOUR} + 2 * 8 * {HOUR} + 3 * {HOUR}) | This example returns : With 8 hours per workday and 5 days per workweek. {HOUR} is a time macro. |
Parameter | Input (data type) | Description |
---|---|---|
duration | NUMBER | A number representing a duration or the calculation of a duration. |
The function returns a TEXT
Powered by Atlassian Confluence 8.5.7, themed by Refined 7.5.3 and Decadis AG