Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Grumpfish Library 3.2 - <b>gfday()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GFDAY()

    This function is similar to Clipper's CDOW(), except that it allows
    for much greater flexibility in international applications.

    Syntax

    GFDAY([<date>])

    Optional Parameter

    <date> is a date expression.  If you do not pass this parameter,
    the system date will be used.

    Return Value

    GFDAY() returns a character string representing the day of the
    week corresponding to the <date> parameter.

    Notes

    GFDAY() triggers automatically based on the current DATE format.
    It is designed for use in either English, French, or German.  Note
    that because BRITISH and FRENCH date formats are identical, the
    default language will be English.  If you wish to change this, you
    should recompile the file GFDAY.PRG with the following syntax:

    clipper gfday /n/dFRENCH

    Sample Usage

    set date french                                          
    ? GFDAY(ctod("11/30/90")   // "Friday" -- see notes above
    set date german                                          
    ? GFDAY(ctod("12/01/90")   // "Samstag"                  
    set date american                                        
    ? GFDAY(ctod("12/01/90")   // "Saturday"                 

See Also: GFMONTH()

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