Navigation:  thinBasic Modules > DT (Date Handling) >

DT_GetDate

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns a string containing current date using requested date format

 

Syntax

 

s = DT_GetDate( [lFormat] )

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

lFormat

Number

Yes

One of the following equates:

%DT_MM_DD_YY

%DT_MM_DD_YYYY (default one)

%DT_DD_MM_YY

%DT_DD_MM_YYYY

%DT_YY_MM_DD

%DT_YYYY_MM_DD

 

See DT Equates

 

Remarks

 

Restrictions

 

See also

 

Examples