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

DTOFN( [ dDate[, cExt ]] )

Purpose

Create a file name from the date.

Arguments

     dDate -- date on which to base filename; defaults to today

     cExt -- extension to use for filename; defaults to "QAZ" (to steer
                 clear of other progs' exts.)

Setup

Nothing.

Example

     ? DATE()
     ? DTOFN()
     ? DTOFN( , "AA" )
     ? DTOFN( CTOD( "12/21/87" ) )   && Returns
                                     && "87_12_21.QAZ"

Returns

A string, based on the date, which is a valid filename.

Side Effects

None.

Artful Calls

STD_DATE

Source File

AA_DTOFN.PRG

See Also: TTOFN()

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