Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

STD_DATE( bcUdf, dDate )

Purpose

Generalised date manipulation function. The current date format is saved,
set to AADATEFORMAT(), bcUdf is executed, then the original date format is
restored.

Arguments

     bcUdf -- code block or a character string containing the name of a
              function to be executed

     cdDate -- date to pass to bcUdf when bcUdf is executed; defaults to
               today

Setup

cdDate is a date specified either as a date variable or as a character
string. If it is a character string, then it must adhere to the format
specified by AADATEFORMAT(). If a date variable, then it doesn't matter in
what format the date is specified.

Example

     SET DATE JAPAN

     * Show date 10 days from Nov 5/90:
     ? STD_DATE( { |x| x + 10 }, "11/05/90" )
     * Output is "90/11/15"

Returns

The result of the execution of bcUdf.

Side Effects

None.

Artful Calls

MACROBLOCK, AADATEFORMAT

Source File

AA_STDDT.PRG

See Also: BOM() BONM() BOW() BOY() DOY() EOM() EOW() EOY() WOY()

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