[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
[Thread Prev] | [Thread Next]
- Subject: Re: formating a german time string, using LANG=C LC_ALL=C gambas3
- From: Karl Reinl <karl.reinl@xxxxxxxxxx>
- Reply-to: karl.reinl@xxxxxxxxxx
- Date: Mon, 23 Nov 2026 23:59:58 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Am Montag, dem 23.11.2026 um 17:48 +0100 schrieb Claus Dietrich:
> 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"
>
>
Salut Claus,
yes I know/understand,but I switch to "LANG=C LC_ALL=C" to make it easy
to Benoît to read the output.
But I don't understand why a string of a date can't be converted to a
value, because the language has changed. Do we need a CultureInfo like
MS use it?
--
Amicalement
Charlie
| Re: formating a german time string, using LANG=C LC_ALL=C gambas3 | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: formating a german time string, using LANG=C LC_ALL=C gambas3 | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| formating a german time string, using LANG=C LC_ALL=C gambas3 | Charlie Reinl <Karl.Reinl@xxxxxxxxxx> |
| Re: formating a german time string, using LANG=C LC_ALL=C gambas3 | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |