Return the date as a day of the week |
Member of Date Intrinsic Functions (PRIM_LIBI.IDateIntrinsics)
Name | Type | Data Type | Description |
|---|---|---|---|
Result | *Result (Optional) | String | Resulting string |
Format | *Input (Optional) | Enumeration | Format of the resulting day of the week |
AsDayofWeek returns the equivalent day of the week for the supplied date using the Format specified.
The default is Symbol
Enum Value | Description |
|---|---|
LongName | Mixed case multilingual e.g. Monday or Lundi |
ShortName | Mixed case multilingual e.g. Mon or Lun |
Symbol | Uppercase English e.g. MONDAY |
In this example, if Today contained 2005-01-01, the result would be SATURDAY
#Result := #Today.AsDayOfWeek