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

Gianluigi bagonergi at gmail.com
Thu Jan 6 13:41:03 CET 2022


Il giorno gio 6 gen 2022 alle ore 13:27 Benoît Minisini <g4mba5 at gmail.com>
ha scritto:

>
> Of course not. IsDate() <=> Val(). If Val() fails, IsDate() returns False.
>
> --
> Benoît Minisini
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>

I apologize for the error in the code:
With hButton = New Button(hPan) As "Button1"
  .AutoResize = True
  .Text = "CLICK HERE"
End With

But 'hGrid[0, 0].Text' is definitely a date in the form of string, why
Val() does not recognize it?

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220106/86fc1d8e/attachment-0001.htm>


More information about the User mailing list