Home > Language Reference > System Variables > DbDateFormat

#DbDateFormat

The #DbDateFormat system variable controls the format for displaying a Date field read from a database.

Syntax

#DbDateFormat=1
or
#DbDateFormat=0

Remarks

Default value is 0 meaning that ODBC Date fields are displayed in the Windows short format (as defined in Region and Language Windows settings).

If this variable is set to 1, ODBC Date fields are displayed in the Windows long format.

See also

Database Functions