ShortDateFormat

[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'sysutils' (#rtl)

# ShortDateFormat (deprecated)

Short Date Format string (subject to locale).

## Declaration

Source position: sysinth.inc line 93

`var ShortDateFormat: string;`

## Description

ShortDateFormat contains a template to format a date in a short format. It is used by the date formatting routines. The initialization routines of the SysUtils unit initialize this string with a value conforming to the regional preferences of the user or system regional default.

This constant is deprecated. You should use DefaultFormatSettings.ShortDateFormat instead.

## See also

LongDateFormat |  | Long date format string (subject to locale).
FormatDateTime |  | Return a string representation of a TDateTime value with a given format.
DateSeparator |  | Date separator character (subject to locale).
DefaultFormatSettings |  | Storage for default settings

Documentation generated on: May 14 2021