[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]
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
Tag Link | [Date->DayofYear] | Category | Date |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 6.0 |
Output Type | Integer | Security | None |
Implementation | LCAPI | Sets | Lasso 6.0 |
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