Tag Link | [Date->DayofYear] | 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 |
[Date->DayofYear] returns the integer day of year from a Lasso data data type cast using the [Date] tag. Returns an integer value out of 365 for standard years, or 366 out of leap years.
[(Date)->DayofYear]
No Parameters Required.
To return the integer day of year from a date:
The following example returns the integer day of year from the date 2/15/2002, which is 46.
[Var:'MyDate'=(Date:'2/15/2002')]
[$MyDate->DayofYear]
46