System.DateUtils.TTimeZone.GetAbbreviation
Delphi
function GetAbbreviation(const ADateTime: TDateTime; const ForceDaylight: Boolean = False): string;
C++
System::UnicodeString __fastcall GetAbbreviation(const System::TDateTime ADateTime, const bool ForceDaylight = false);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.DateUtils.pas System.DateUtils.hpp |
System.DateUtils | TTimeZone |
Description
Returns the abbreviated name that can be used to position the local time in relation to UTC.
Call the GetAbbreviation method to get the abbreviated name that can be used to position the local time in relation to UTC (Coordinated Universal Time).
The returned name is non-localized, always specified, and has the form: GMT[+|-HH[:MM]].