SET DATE
Assigns a date format or chooses a predefined date data set.
Syntax
SET DATE FORMAT [TO] <cFormat> SET DATE [TO] [ANSI / BRITISH / FRENCH / GERMAN / ITALIAN / JAPAN / USA / AMERICAN]
Arguments
<cFormat> Keyword for date format
Description
This command sets the date format for function display purposes. If specified, <cFormat> may be a customized date format in which the letters d, m and y may be used to design a date format. The default is an AMERICAN date format; specifying no parameters will set the date format to AMERICAN. Below is a table of the various predefined dates formats.
Syntax Date Format ------------ ----------- ANSI yy.mm.dd BRITISH dd/mm/yy FRENCH dd/mm/yy GERMAN dd.mm.yy ITALIAN dd-mm-yy JAPAN yy.mm.dd USA mm-dd-yy AMERICAN mm/dd/yy
Examples
SET DATE JAPAN ? Date() SET DATE GERMAN ? Date()
Compliance
Clipper
Seealso
SET DATE, SET EPOCH, CToD(), Date(), DToC(), Set()