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>csetdate()*</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CSETDATE()*
 Queries the SET DATE setting
------------------------------------------------------------------------------
 Syntax

     CSETDATE() --> nDateFormat

     *  This function is retained for compatibility purposes.  Use the
        CA-Clipper SET() function to develop future applications.

 Returns

     The returned numeric code signifies the current setting for SET DATE.

 Description

     This function allows you to query the current setting for SET DATE.  The
     table below describes the numeric codes that are returned:

     Table 11-3: Coding for country specific date formats
     ------------------------------------------------------------------------
     Code    Definition
     ------------------------------------------------------------------------
     1       AMERICAN
     2       ANSI
     3       BRITISH
     4       FRENCH
     5       GERMAN
     6       ITALIAN
     ------------------------------------------------------------------------

 Note

     .  This function cannot alter the status of SET DATE.

 Example

     For SET DATE AMERICAN, CSETDATE() returns a value of 1.

     SET DATE AMERICAN ? CSETDATE()      // 1


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