System.DateUtils.TTimeZone.GetDisplayName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

System::UnicodeString __fastcall GetDisplayName(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 full name for the time zone based on the given date and time.

Call GetDisplayName to get the full name (localized if possible) for the time zone, based on the given date and time.