System.DateUtils.TTimeZone.DoGetDisplayName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoGetDisplayName(const ADateTime: TDateTime; const ForceDaylight: Boolean): string; virtual; abstract;

C++

virtual System::UnicodeString __fastcall DoGetDisplayName(const System::TDateTime ADateTime, const bool ForceDaylight) = 0 ;

Properties

Type Visibility Source Unit Parent
function protected
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils TTimeZone

Description

Gets the time zone name for a given local time.

Use DoGetDisplayName to obtain the name of a time zone for a given local time.

Warning: This is an abstract method that needs to be overridden by the child classes.