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

TEXTDATE( [ nFormat [, cdDate ]] )

Purpose

Transform a date to a text string.

Arguments

     nFormat -- 1: returns "Monday October 9, 1989"  (default).

             -- 2: returns "October 9, 1989"

             -- 3: returns "9-Oct-1989"

             -- 4: returns "Oct 9, 1989"

     cdDate -- if passed, character or date variable reflecting date to
               use; defaults to today

Setup

Assumes CENTURY is set ON.

Example

     ? TEXTDATE( 3, DATE() )

Returns

cdDate as a string in the specified format, or a null string if cdDate is
invalid.

Side Effects

None.

Artful Calls

None.

Source File

AA_DATE.PRG

See Also: TEXTTIME()

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