[<<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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson