DAY_NAME

The DAY_NAME function returns a string array containing the names of the days of the week. DAY_NAME uses the system variable !DAY_NAMES, which is stored in the IDLDT structure and can be user-modified.

Calling Sequence

Result = DAY_NAME( Dt_days )

Arguments

Dt_days

An array of IDLDT date/time structures.

Example

PRINT, DAY_NAME(TODAY()) ; Print the day name of the day this was written, using the
TODAY function.

IDL prints:

% Compiled module: DAY_NAME.

Friday

See Also

IDLDT__DEFINE , DAY_OF_WEEK , DAY_OF_YEAR