[Gambas-user] DateChooser strange behavior

Gianluigi bagonergi at ...626...
Sat Dec 12 00:44:35 CET 2015


Thanks Benoit,
I will keep in good account your recommendations.
You and Jussi are really Kind
Regards
Gianluigi

2015-12-11 23:49 GMT+01:00 Benoît Minisini <gambas at ...1...>:

> Le 11/12/2015 23:22, Gianluigi a écrit :
> > Dear Benoit,
> > I apologize for my poor English.
> > I would like to get from the DateChoser localized date.
> > Example: If the code runs on a computer in Italy 25/12/2015 in USA
> > 12/25/2015.
> > Thank you
> > Gianluigi
> >
>
> Don't confuse a date value and its string representation.
>
> The DateChooser returns you a date, and a date is a date.
>
> It's up to you to transform it into a localized string representation
> (Str$ or Format$) or a non-localized string representation (CStr),
> according to what you need.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list