[Gambas-user] Dateadd function
Benoit Minisini
gambas at ...1...
Wed Aug 31 19:24:05 CEST 2005
On Wednesday 31 August 2005 11:33, isy21 at ...1082... wrote:
> Hi, all
>
> I have a textbox like this one
>
> textbox1.text =02/08/2005 (in dd/mm/yyyy)
> textbox2.text= 30 (in days)
> textbox3.text= ..is date 30 day after 02/08/2005... ( result must be
> in date too...will be added date from textbox1 with textbox2 in period ) (I
> use in textbox3_change ->
> textbox3.text=dateadd(textbox2.text,d,textbox1.text)
>
> but i return Error --> "unknown indentifier:dateadd
>
> i use suse 9.3 prof
Good, but you should tell which version of Gambas you use. I guess this is the
stable version, and in the stable version DateAdd does not exist, except if
you use the gb.vb component.
DateAdd and DateDiff are in the development version.
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list