| Tag Link | [Date->Month] | Category | Date |
|---|---|---|---|
| Type | Member | Source Available | No |
| Support | Preferred | Version | 6.0 |
| Change | Unchanged | Data Source | Any |
| Output Type | String, Integer | Security | None |
| Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0 |
[Date->Month] returns the number of the month (1=January, 12=December) for a specified date cast using the [Date] tag.
An optional
[(Date)->Month]
[(Date)->(Month:
| Optional Parameters | |
|---|---|
| -Long | Returns the full English month name. |
| -Short | Returns and abbreviated English month name. |
| -Days | Returns the integer number of days in the month (e.g. 31). |
To return the month from a Lasso date:
The following example returns the month from the Lasso date 8/29/2002 12:30:00.
[(Date:'8/29/2002 12:30:00')->Month]
8