System.DateUtils.TTimeZone.GetAbbreviation

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetAbbreviation(const ADateTime: TDateTime; const ForceDaylight: Boolean = False): string;

C++

System::UnicodeString __fastcall GetAbbreviation(const System::TDateTime ADateTime, const bool ForceDaylight = false);

プロパティ

種類 可視性 ソース ユニット
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils TTimeZone

説明

UTC を基準とした、ローカル時間に値する省略名を返します。

GetAbbreviation を呼び出すと、UTC協定世界時)を基準としたローカル時間に値する省略名を取得できます。

取得した名前はローカライズされていなくて、常に指定の形式を使用します。その形式は、GMT[+|-HH[:MM]] です。