[Gambas-user] A little bit of Date Testing

Cedron Dawg cedron at exede.net
Wed Jun 5 18:00:22 CEST 2019


If the interpreter does an implicit type conversion from string to date automatically, can't then it actually be considered a conversion function?

Would you rather see the "CDate()" explicitly in code?

----- Original Message -----
From: "Benoît Minisini" <g4mba5 at gmail.com>

Date() with a single argument takes a Date, not a String. It's not a 
conversion function.

Date(aString) = Date(CDate(aString))


Benoît Minisini

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

More information about the User mailing list