C5_DATE

 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

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.