Re: [Gambas-user] Adding a date to a number

2012-08-09 Thread Jussi Lahtinen
http://gambasdoc.org/help/lang/dateadd?show Jussi On 9 August 2012 23:33, rocko wrote: > I have a date box that I want to use for adding a number of days to. > EX: say user picks date 9/10/12(American style date format) and enters > 30 days in a value box to add to the date and then display t

Re: [Gambas-user] Adding a date to a number

2012-08-09 Thread acidblue
I tried this and it works fine. Dim $date As Date $date = DateBox1.Value + vbxFlwrTime.Value txtFin.Text = $date acidblue wrote: > > I have a date box that I want to use for adding a number of days to. > EX: say user picks date 9/10/12(American style date format) and enters > 30 days in a

[Gambas-user] Adding a date to a number

2012-08-09 Thread rocko
I have a date box that I want to use for adding a number of days to. EX: say user picks date 9/10/12(American style date format) and enters 30 days in a value box to add to the date and then display that in another text box. But I'm not sure what the formula in Gambas is for adding dates. I want