Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>ntocdow()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson