Unit 'DateUtils' Package
[Overview][Constants][Classes][Procedures and functions][Index] [#rtl]

TDateTimeHelper

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: dateutil.inc line 490

type TDateTimeHelper = type helper

public

  class function Create();

  class function CreateLocal();

  class function CreateUnixTime();

  class function CreateTotalSeconds();

  property Now: TDateTime; [r]

  property Today: TDateTime; [r]

  property Yesterday: TDateTime; [r]

  property Tomorrow: TDateTime; [r]

  property Date: TDateTime; [r]

  property Time: TDateTime; [r]

  property DayOfWeek: Word; [r]

  property DayOfYear: Word; [r]

  property Year: Word; [r]

  property Month: Word; [r]

  property Day: Word; [r]

  property Hour: Word; [r]

  property Minute: Word; [r]

  property Second: Word; [r]

  property Millisecond: Word; [r]

  property UnixTime: Int64; [r]

  property TotalSeconds: Int64; [r]

  function ToString();

  function StartOfYear;

  function EndOfYear;

  function StartOfMonth;

  function EndOfMonth;

  function StartOfWeek;

  function EndOfWeek;

  function StartOfDay;

  function EndOfDay;

  function AddYears();

  function AddMonths();

  function AddDays();

  function AddHours();

  function AddMinutes();

  function AddSeconds();

  function AddMilliseconds();

  function CompareTo();

  function Equals();

  function IsSameDay();

  function InRange();

  function IsInLeapYear;

  function IsToday;

  function IsAM;

  function IsPM;

  function YearsBetween();

  function MonthsBetween();

  function WeeksBetween();

  function DaysBetween();

  function HoursBetween();

  function MinutesBetween();

  function SecondsBetween();

  function MilliSecondsBetween();

  function WithinYears();

  function WithinMonths();

  function WithinWeeks();

  function WithinDays();

  function WithinHours();

  function WithinMinutes();

  function WithinSeconds();

  function WithinMilliseconds();

end;

Inheritance

TDateTimeHelper


Documentation generated on: Dec 26 2024