[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: formating a german time string, using LANG=C LC_ALL=C gambas3


The date format of the locale C is "month/day/year". So you should use

Format(Val("07/14/1789"), "yyyymmdd")

Best regards, Claus

Am 22.11.26 um 10:26 schrieb Charlie Reinl:
Salut,

Format(Val("14.07.1789"), "yyyymmdd")

if I ran the IDE in german this works fine.
But stared the IDE with "LANG=C LC_ALL=C gambas3"
I get, "Type mismatch: wanted Float, got Null instead"


Follow-Ups:
Re: formating a german time string, using LANG=C LC_ALL=C gambas3Karl Reinl <karl.reinl@xxxxxxxxxx>
References:
formating a german time string, using LANG=C LC_ALL=C gambas3Charlie Reinl <Karl.Reinl@xxxxxxxxxx>