Tag Link | [Date->DayofWeek] | 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->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
[(Date)->DayofWeek]
[(Date)->(DayofWeek:
[(Date)->(DayofWeek:
Optional Parameters | |
---|---|
-Short | Returns an abbreviated English day name. |
-Long | Returns a full English day name. |
To return the day of week number for a date:
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