Show: Delphi C++
Display Preferences

System.SysUtils.ShortDateFormat

From XE2 API Documentation
Jump to: navigation, search

Delphi

ShortDateFormat: string deprecated 'Use FormatSettings.ShortDateFormat';

C++

extern PACKAGE System::UnicodeString ShortDateFormat _DEPRECATED_ATTRIBUTE1("Use FormatSettings.ShortDateFormat") ;

Properties

Type Visibility Source Unit Parent
variable public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Specifies the short format string used to represent a date value as a string.

ShortDateFormat is the format string used to convert a date value to a user-friendly string, in short format.

On Windows, the initial value is fetched from LOCALE_SSHORTDATE.

Note: The ShortDateFormat variable is deprecated. Use the ShortDateFormat field of the FormatSettings global variable instead.

Code Examples


Personal tools
Previous Versions
Translations