[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NTOCDOW()
 Changes the number of a weekday into a weekday name
------------------------------------------------------------------------------
 Syntax

     NTOCDOW(<nWeekday>) --> cWeekday

 Argument

     <nWeekday>  Designates a weekday number from 1 to 7.

 Returns

     NTOCDOW() returns a name that corresponds to its weekday number.

 Description

     This function converts a weekday number into the corresponding name.
     Sunday is 1, Monday is 2, Saturday is 7.  If you pass a number outside
     of this range, the function returns a 0 value.

 Note

     .  Function operation depends on the country-specific adaptation
        of your CA-Clipper compiler.  With an English version of CA-Clipper,
        only English day names are returned.

 Example

     An English CA-Clipper returns:

     ? NTOCDOW(1)      // "Sunday"
     ? NTOCDOW(4)      // "Wednesday"
     ? NTOCDOW(7)      // "Saturday"
     ? NTOCDOW(8)      // ""


See Also: CTODOW()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson