Skip to content

DateSeparator

Date separator character (subject to locale).

Declaration

Source position: sysinth.inc line 90

var
  DateSeparator : Chardeprecated;

Description

DateSeparator is the character used by various date/time conversion routines as the character that separates the day from the month and the month from the year in a date notation. 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.DateSeparator instead.

See also

Name Description
Char Character type (1 byte)
DateSeparator Date separator character (subject to locale).
DefaultFormatSettings Storage for default settings
FormatDateTime Return a string representation of a TDateTime value with a given format.
LongDateFormat Long date format string (subject to locale).