Lasso Soft Inc. > Home

[ duration->days ]


[Duration->Days] returns an array of date objects representing the days between the start and end date.

  • Syntax
Duration Object->Days
  • Beginner

To return an array of date objects between two dates:

Use the [Duration->Days] method. The following example returns an array of date objects between two dates.


duration(date('2011-02-21 08:00:00'),date('2011-02-24 12:00:00'))->days


array(2011-02-21 08:00:00, 2011-02-22 08:00:00, 2011-02-23 08:00:00, 2011-02-24 08:00:00)

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