[Gambas-user] Dateadd function

isy21 at ...1082... isy21 at ...1082...
Thu Sep 1 03:50:05 CEST 2005


I use version 1.0.10, and i use gb.vb component also.
How can i do it for dateadd or datediff ?

Thanks a lot

Ignatius

On Thursday 01 September 2005 00:24, Benoit Minisini wrote:
> 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.




More information about the User mailing list