LassoScript Utility
Basics Browse Detail

[Duration->Month]

Tag Link [Duration->Month] Category Date
Type Member Source Available No
Support Preferred Version 6.0
Change Unchanged Data Source Any
Output Type Integer Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0

Description

[Duration->Months] returns the integer number of months in a specified duration (based on an average of 30.4375 days per month). The specified duration must first be cast using the [Duration] tag before it can be used.

Syntax

[(Duration)->Month]

Parameters

No Parameters Required.

Examples

To return the number of months in a duration:

The following example returns the integer number of months in a duration of 720 hours (720:00:00).

[(Duration:'720:00:00')->Month]

1