Date Intrinsic Functions - AsDayOfWeek Method

Return the date as a day of the week

Member of Date Intrinsic Functions (PRIM_LIBI.IDateIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

String

Resulting string

Format

*Input (Optional)

Enumeration

Format 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 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

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