Date (command)

From BR Wiki
Revision as of 16:52, 26 December 2011 by Mikhail.zheleznov (talk | contribs) (Imported DATE command page from old wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

See also Date (disambiguation)

The Date command sets the system date, which is accessed to record when files are saved and determines the value of the string function DATE$.

Comments and Examples

The following example identifies the month as 10 (October), the day as 16, and the year as 1989:

 DATE 10-16-89

The next example will return a string similar to: Thursday, August 14, 2008

 Date$("Day, Month D, CCYY")

Syntax

Default

Return the date in yy/mm/dd format.

Parameters

Date's two parameters allow you to separate the elements of the date by slashes ("mm/dd/yy") or by dashes ("mm-dd-yy").

Technical Considerations

Changes to the date apply only to a single workstation - current session only.