![]() |
Addmonths in welcher Unit?
Hallo
weis jemand in welcher unit addmonths zufinden ist bzw. welche ich einbinden muss |
Re: Addmonths in welcher Unit?
Zitat:
:wink: Vielleicht kannst du deiner Onlinehilfe ewas mehr entlocken als mir. |
Re: Addmonths in welcher Unit?
IncMonth ist in DateUtils ich suche aber AddMonth
|
Re: Addmonths in welcher Unit?
Und was für eine Funktion soll das sein? Mal davon abgesehen, dass sie bis heute noch nie irgendwo in der DP erwähnt wurde.
|
Re: Addmonths in welcher Unit?
Adds a number of months to the timestamp.
procedure AddMonths(ANumber: Cardinal); Parameters ANumber: Cardinal Number of months to be added. Description AddMonths is a procedure that adds the number of months in ANumber to the date / time. Day and Year will be adjusted accordingly. so steht es in der Delphi hilfe aberkein syntax das
Delphi-Quellcode:
ergibt Objektoderklassentyp erforderlich
xdatend1 := xdatend.addmonths(12);
|
Re: Addmonths in welcher Unit?
Hallo,
AddMonths ist eine Methode von TidDateTimeStamp - also Bestandteil der Indy-Kompos (Unit IdDateTimeStamp). Diese Komponente ist aber speziell für das Handling mit Datum- und Zeitwerten bzgl. des Internetprotokolls ausgelegt. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:07 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz