Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
This function returns a text representing a time duration (in milliseconds), i.e. the difference between two date-time values, using the current user's language. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
formatDuration(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, please see shortFormatDuration().
|
Page properties | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|