System.DateUtils.TTimeZone.IsStandardTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

bool __fastcall IsStandardTime(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

Checks whether the given local date and time is situated outside the DST (Daylight Savings Time) period.

The IsStandardTime method checks whether the given local date and time is situated outside the DST period.

ForceDaylight specifes how ambiguous time is treated.

See Also