[Gambas-user] Default dates format

Benoit Minisini gambas at ...1...
Fri Dec 30 00:06:33 CET 2005


On Thursday 29 December 2005 23:58, Marco Gusy wrote:
> I noticed that when I write a date field in a string the format is always
> "mm-dd-yyyy". (ie Cdate("01/02/03") is printed as 02/01/03) Is it possible
> to customize this behaviour or have I to do it myself with a function?
>
> Thanks!!!
>
> Marco
>

Use Str$(), because CDate() does not use localization. You should read the 
documentation about CDate(), Str$(), Val()...

-- 
Benoit Minisini





More information about the User mailing list