Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
This function returns a text, similar to the function formatDuration(), but using the work day and work week defined at time tracking configuration, instead of 24 hours per day and 7 days a week. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
formatWorkDuration(duration) #Output: Text |
UI Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
UI Expand | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Parameters used in this function
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
This function returns a
|
UI Text Box | ||||||
---|---|---|---|---|---|---|
| ||||||
This function is extremely helpful when you want to automatically calculate the duration in JWT calculated text fields. If you prefer a more comprehensive representation, have a look at the shortFormatWorkDuration() function.
|
Use cases and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|