Tag Link | [Duration] | Category | Date |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 6.0 |
Change | Unchanged | Data Source | Any |
Output Type | Duration | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0 |
[Duration] casts values as a duration data type, which represents a length of time in hours, minutes, and seconds. Accepts a duration string for hh:mm:ss, or an integer number of seconds.
An optional
[Duration: 'hh:mm:ss']
[Duration: 'Integer Number of Seconds']
[Duration:
Optional Parameters | |
---|---|
-Week | Adds a specified number of weeks to the duration. |
-Day | Adds a specified number of days to the duration. \0 |
-Hour | Adds a specified number of hours to the duration. |
-Minute | Adds a specified number of minutes to the duration. |
-Second | Adds a specified number of seconds to the duration. |
To cast a duration data type:
This example illustrates casting a duration data type by combining integer numbers of weeks, days, hours, minutes, and seconds.
[Duration:
419:23:47