Lasso Soft Inc. > Home

[Duration->Year]

[Duration->Year] returns the integer number of years in a specified duration (based on an average of 365.25 days per year). The specified duration must first be cast using the [Duration] tag before it can be used.

  • Syntax
  • Parameters
[(Duration)->Year]
Required Parameters
Duration The duration to be inspected.
Examples

To return the number of years in a duration:

The following example returns the integer number of years in a duration of 72000 hours (72000:00:00).

[(Duration:'72000:00:00')->Year]
Result:
8
Tag Link [Duration->Year] Category Date
Type Member Data Source Any
Support Preferred Version 6.0
Output Type Integer Security None
Implementation LCAPI Sets Lasso 7.0, Lasso 6.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft