Lasso Soft Inc. > Home

[ duration->year ]

Method

[Duration->Year] returns the number of years in a duration object as an integer.

  • Syntax
Duration Object->year
Examples
  • Beginner

To get the year number of years in a duration object:

Use the [Duration->Year] method. The following example returns the number of years in a duration object.

Code

duration('8784:00:00')->year

Result

1

Recent Comments

No Comments found

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