Lasso Soft Inc. > Home

[ Duration->Hour ]

Method

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

  • Syntax
Duration Object->hour
Examples
  • Beginner

To get the hour number of hours in a duration object:

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

Code

duration('24:00:00')->hour

Result

24

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