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 shortFormatDuration(), but using the workday and workweek defined at time tracking configuration , instead of 24 hours per day and 7 days a week.

Syntax
shortFormatWorkDuration(number duration) #Output: Text
Examples
Parser expressionDescription
 formatWorkDuration(5 * 8 * {HOUR} + 2 * 8 * {HOUR} + 3 * {HOUR}) 

The function returns a TEXT : 1w 2d 3h

With 8 hours per workday and 5 days per workweek.

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a TEXT