Date Intrinsic Functions - AsDayOfWeek Method

Return the date as a day of the week

Member of Date Intrinsic Functions (PRIM_LIBI.IDateIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)StringResulting string
Format*Input (Optional)EnumerationFormat of the resulting day of the week

Details

AsDayofWeek returns the equivalent day of the week for the supplied date using the Format specified.
 
The default is Symbol

Allowed Formats

Enum ValueDescription
LongNameMixed case multilingual e.g. Monday or Lundi
ShortNameMixed case multilingual e.g. Mon or Lun
SymbolUppercase English e.g. MONDAY

Example

In this example, if Today contained 2005-01-01, the result would be SATURDAY
#Result := #Today.AsDayOfWeek

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2