character value for numeric week day
──────────────────────────────────────────────────────────────────────────────

Syntax

GT_DOW2C( <nDay> ) -> cDow

Arguments:

<nDay> is a numeric day of the week

Returns:

A character value, for the coresponding day

Description:

GT_DOW2C() can be used to return character value from
a numeric day of the week.

Examples:


local nDay := 2

? "Day of Week No", nDay, "is", GT_DOW2C( nDay )

result :
Day of Week No 2 is Monday

Source: GT_DOW2C.PRG

Author: George Brennan