Lasso Soft Inc. > Home

[ duration->asInteger ]

Method

[Duration->asInteger] converts a duration object to a integer object as an integer number of seconds.

  • Syntax
Duration Object->asInteger
Examples
  • Beginner

To convert a duration object to a integer object:

Use the [duration->asInteger] method. The following example uses a single duration object, then converts it to a integer object and returns its value.

Code

duration('12:34:56')->asinteger

Result

45296

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