On Sun, Dec 5, 2010 at 6:31 AM, EA7DFH wrote:
> El 05/12/10 01:16, Benoît Minisini escribió:
>>>
>>> But then why am I getting the 'invalid date' error in 2.22? And more
>>> importantly, what do I need to do to correct it?
>>>
>>
>> That is the question!
>>
>> Check first that you really have Gam
El 05/12/10 01:16, Benoît Minisini escribió:
>>
>> But then why am I getting the 'invalid date' error in 2.22? And more
>> importantly, what do I need to do to correct it?
>>
>
> That is the question!
>
> Check first that you really have Gambas 2.22 installed, and that you run it.
> To do that,
>
> But then why am I getting the 'invalid date' error in 2.22? And more
> importantly, what do I need to do to correct it?
>
That is the question!
Check first that you really have Gambas 2.22 installed, and that you run it.
To do that, run "gbx2 -V" in a terminal. You will get the interprete
2010/12/4 Benoît Minisini :
>> >
>> > Gambas 2.19/64 Suse11.3 locale Hong Kong:
>> >
>> > PRINT DateAdd(CDate("2/13/2010"), gb.month, -36)
>> > PRINT DateAdd(CDate("3/28/2010"), gb.month, -37)
>> > PRINT DateAdd(CDate("4/13/2010"), gb.month, -38)
>> > produces
>> > 13/02/07
>> > 28/02/07
>> > 13/02
> >
> > Gambas 2.19/64 Suse11.3 locale Hong Kong:
> >
> > PRINT DateAdd(CDate("2/13/2010"), gb.month, -36)
> > PRINT DateAdd(CDate("3/28/2010"), gb.month, -37)
> > PRINT DateAdd(CDate("4/13/2010"), gb.month, -38)
> > produces
> > 13/02/07
> > 28/02/07
> > 13/02/07
> >
> > whereas
> > PRINT DateA
On 05/12/10 01:08, Werner wrote:
> On 05/12/10 00:37, Benoît Minisini wrote:
>
>>> 2010/2/13 Benoît Minisini :
>>>
>>>
> I've run into a strange problem with the DateAdd function, when trying
> to subtract from the current date by months.
>
> I initially hit the probl
On 05/12/10 00:37, Benoît Minisini wrote:
>> 2010/2/13 Benoît Minisini :
>>
I've run into a strange problem with the DateAdd function, when trying
to subtract from the current date by months.
I initially hit the problem with the following (values are hard-coded
for cla
> 2010/2/13 Benoît Minisini :
> >> I've run into a strange problem with the DateAdd function, when trying
> >> to subtract from the current date by months.
> >>
> >> I initially hit the problem with the following (values are hard-coded
> >> for clarity):
> >> DateAdd(cdate("2/13/2010"),gb.month,-3
2010/2/13 Benoît Minisini :
>> I've run into a strange problem with the DateAdd function, when trying
>> to subtract from the current date by months.
>>
>> I initially hit the problem with the following (values are hard-coded
>> for clarity):
>> DateAdd(cdate("2/13/2010"),gb.month,-37)
>>
>> It see
Benoît,
Thanks for the quick response. I had thought my Gambas was
up-to-date, but apparently the repository I was using is not current.
At least I'm aware of that now.
Thank you,
-George
2010/2/13 Benoît Minisini :
> The bug has been fixed in revision #2697.
>
> Regards,
>
> --
> Benoît Mini
> I've run into a strange problem with the DateAdd function, when trying
> to subtract from the current date by months.
>
> I initially hit the problem with the following (values are hard-coded
> for clarity):
> DateAdd(cdate("2/13/2010"),gb.month,-37)
>
> It seems that any combination of Date an
I've run into a strange problem with the DateAdd function, when trying
to subtract from the current date by months.
I initially hit the problem with the following (values are hard-coded
for clarity):
DateAdd(cdate("2/13/2010"),gb.month,-37)
It seems that any combination of Date and Interval tha
12 matches
Mail list logo