Download Now

    Reference TDateTimeHelper

    Declared in Codebot.System.pas on line 646

    TDateTimeHelper adds methods to the TDateTime type
      TDateTimeHelper = record helper for TDateTime
      public
        { Convert to a string representation }
        function ToString(Format: string = ''): string;
        { Returns the date and time offset by a number of minutes }
        function AddMinutes(const A: Integer): TDateTime;
        { Return the year portion of the date }
        function Year: Word;
        { Return the month portion of the date }
        function Month: Word;
        { Return the day portion of the date }
        function Day: Word;
      end;