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

Jussi Lahtinen jussi.lahtinen at gmail.com
Thu Jan 6 20:30:08 CET 2022


>
> I think the strings that creates Gambas should be recognized :-/
>

The string was not created by any native Gambas function, but this line:
Format(hDate, "dd/mm/yyyy")

In theory you can create any format with that function (though, not all
options actually work). I don't think example "--mm++yyy**dd" should be
interpreted as a date.
However, IsDate recognizes only the US(?) format, not the localized formats
at all.


Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220106/74d364ce/attachment.htm>


More information about the User mailing list