[Gambas-user] IsDate(string) - how good is it?

Benoît Minisini g4mba5 at gmail.com
Thu Jan 6 13:26:17 CET 2022


Le 06/01/2022 à 13:16, Gianluigi a écrit :
> 
> 
> Il giorno gio 6 gen 2022 alle ore 12:45 Benoît Minisini 
> <g4mba5 at gmail.com <mailto:g4mba5 at gmail.com>> ha scritto:
> 
> 
> 
>     'IsDate(xxx)' internally uses 'Val()' algorithm to convert the
>     string to
>     a date, and returns FALSE if it fails.
> 
>     Regards,
> 
>     -- 
>     Benoît Minisini
> 
>     ----[ http://gambaswiki.org/wiki/doc/netiquette
>     <http://gambaswiki.org/wiki/doc/netiquette> ]----
> 
> 
> So it's a bug?
> 

Of course not. IsDate() <=> Val(). If Val() fails, IsDate() returns False.

-- 
Benoît Minisini


More information about the User mailing list