Date$

Date/Time function.

The Date$ function returns the current date.

Syntax

date_day$=Date$([<format>])

Parameters

<format>, numeric; either 0 (default value) or 1.

Return value

date_day$, date returned as a string in the short format (such as 09/07/08) if <format> equals 0, in the long format if <format> equals 1 (as Sunday, September 7, 2008). The returned date is as specified in the Windows regional settings.

Example

 

date_day$=Date$()