[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: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Mon, 23 Nov 2026 17:48:40 +0100
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
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"
| Re: formating a german time string, using LANG=C LC_ALL=C gambas3 | Karl Reinl <karl.reinl@xxxxxxxxxx> |
| formating a german time string, using LANG=C LC_ALL=C gambas3 | Charlie Reinl <Karl.Reinl@xxxxxxxxxx> |