[Gambas-user] How to check if i 'is a valid date?

Benoit Minisini gambas at ...1...
Thu Aug 19 09:40:39 CEST 2004


On Thursday 19 August 2004 08:05, Hans-Martin Bundeshund wrote:
> Salute!
>
> I try to use the IsDate()-function, but can not use
> it. I have have three integers: act_year, act_month
> and act_day. When I try IsDate(format$(act_year,"00")
> & "/" & format$(act_month, "00") & "/" &
> format$(act_day,"00")), I get an error, that IsDate
> whants a date, not a string.
>
> So how to?
>
> regards,
>
> HM
>

I have no error with your code. Which version of Gambas do yo use ?

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list