[Gambas-user] A little bit of Date Testing

Cedron Dawg cedron at exede.net
Wed Jun 5 18:58:20 CEST 2019

It won't happen again.  Thanks for the clarification.

----- Original Message -----
From: "Benoît Minisini" <g4mba5 at gmail.com>
> Would you rather see the "CDate()" explicitly in code?

Yes. You should never use Date() with a string, if you don't know what 
you are doing exactly (because your string is assumed to be an UTC date).

But it's my fault anyway. I should have only allowed the Date datatype 
in the one-argument case.

Benoît Minisini

----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----

More information about the User mailing list