[Date->DayofWeek] returns the number of the day of the week (1=Sunday, 7=Saturday) for a specified Lasso date cast using the [Date] tag.
An optional -Short parameter returns an abbreviated English day name (e.g. "Sun") and an optional -Long parameter returns the full English day name (e.g. "Sunday").
[(Date)->DayofWeek]
[(Date)->(DayofWeek: -Short)]
[(Date)->(DayofWeek: -Long)]
The example below determines the day of week number for the date 8/29/2002, which is 5 for Thursday.
[(Date:'8/29/2002')->DayofWeek]
5
Tag Link | [Date->DayofWeek] | Category | Date |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 6.0 |
Output Type | String, 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