[Duration->Days] returns an array of date objects representing the days between the start and end date.
Duration Object->Days
Use the [Duration->Days] method. The following example returns an array of date objects between two dates.
Code
duration(date('2011-02-21 08:00:00'),date('2011-02-24 12:00:00'))->days
Result
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)
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments