System.SysUtils.DateTimeFormatToNative
Delphi
function DateTimeFormatToNative(const Format: string; const AFormatSettings: TFormatSettings): string;
function DateTimeFormatToNative(const Format: string): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall DateTimeFormatToNative(const System::UnicodeString Format, const TFormatSettings &AFormatSettings)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
This method converts the date and time format string.
DateTimeFormatToNative converts the date and time format string, in the format expected by FormatDateTime and other RTL routines, to a native OS representation.