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 5.2 . The Guide To CA-Clippe - <b>date()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DATE()
 Return the system date as a date value
------------------------------------------------------------------------------
 Syntax

     DATE() --> dSystem

 Returns

     DATE() returns the system date as a date value.

 Description

     DATE() is a date function that provides a means of initializing memory
     variables to the current date, comparing other date values to the
     current date, and performing date arithmetic relative to the current
     date.

     The display format for dates is controlled by the SET DATE command.  The
     default format is mm/dd/yy.

 Examples

     .  These examples show the DATE() function used in various ways:

        ? DATE()                 // Result: 09/01/90
        ? DATE() + 30            // Result: 10/01/90
        ? DATE() - 30            // Result: 08/02/90
        dDate := DATE()
        ? CMONTH(dDate)          // Result: September

 Files:  Library is CLIPPER.LIB.

See Also: CTOD() DTOC() DTOS() SET CENTURY SET DATE

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