AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Addmonths in welcher Unit?

Ein Thema von Haraldo · begonnen am 2. Feb 2006 · letzter Beitrag vom 2. Feb 2006
Antwort Antwort
Haraldo

Registriert seit: 2. Jan 2006
5 Beiträge
 
#1

Addmonths in welcher Unit?

  Alt 2. Feb 2006, 18:37
Hallo
weis jemand in welcher unit addmonths zufinden ist bzw. welche ich einbinden muss
  Mit Zitat antworten Zitat
Benutzerbild von Khabarakh
Khabarakh

Registriert seit: 18. Aug 2004
Ort: Brackenheim VS08 Pro
2.876 Beiträge
 
#2

Re: Addmonths in welcher Unit?

  Alt 2. Feb 2006, 18:42
Zitat von Haraldo:
Hallo
weis jemand in welcher unit addmonths zufinden ist bzw. welche ich einbinden muss
Wenn du IncMonth meinst: Ja, ich.



Vielleicht kannst du deiner Onlinehilfe ewas mehr entlocken als mir.
Sebastian
Moderator in der EE
  Mit Zitat antworten Zitat
Haraldo

Registriert seit: 2. Jan 2006
5 Beiträge
 
#3

Re: Addmonths in welcher Unit?

  Alt 2. Feb 2006, 18:43
IncMonth ist in DateUtils ich suche aber AddMonth
  Mit Zitat antworten Zitat
Benutzerbild von Khabarakh
Khabarakh

Registriert seit: 18. Aug 2004
Ort: Brackenheim VS08 Pro
2.876 Beiträge
 
#4

Re: Addmonths in welcher Unit?

  Alt 2. Feb 2006, 18:55
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.
Sebastian
Moderator in der EE
  Mit Zitat antworten Zitat
Haraldo

Registriert seit: 2. Jan 2006
5 Beiträge
 
#5

Re: Addmonths in welcher Unit?

  Alt 2. Feb 2006, 19:31
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
xdatend1 := xdatend.addmonths(12); ergibt Objektoderklassentyp erforderlich
  Mit Zitat antworten Zitat
squetk

Registriert seit: 29. Aug 2004
Ort: Cottbus
118 Beiträge
 
Delphi XE2 Professional
 
#6

Re: Addmonths in welcher Unit?

  Alt 2. Feb 2006, 21:34
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.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:05 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz