Am Samstag, den 29.08.2015, 04:22 +0300 schrieb Jussi Lahtinen: > > correct me if I go wrong, I still don't see for what we need the > > localization. > > Having a Date or Date/Time and we want to format it, where we need > > localisation there for. > > > > Using german date is Format(now(),"dd.mm.yyyy") but I also can write > > Format(now(),"mm/dd/yyyy") or Format(now(),"dd-mm-yyyy") but also > > Format(now(),"dd;mm;yyyy") yes that should work (it's a ';' not a ':') > > Please enlighten me, I can't see the usage of localization in that > > converting. > > > > How I supposed to verify output of Format(now(),"mm/dd/yyyy") ? > Correct result can be 08.29.2015 or 08/29/2015 depending on the > localization (or even something completely different). > > > Jussi
Salut Jussi, attached you a quick hack who shows that the Format don't use the localization. -- Amicalement Charlie
DateTimeChk-0.0.1.tar.gz
Description: application/compressed-tar
------------------------------------------------------------------------------
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user