Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Disable localisation for FormatDateTime ?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Identify network devices
by
Warfley
[
Today
at 10:55:13 pm]
The best name for procedu...
by
J-G
[
Today
at 07:49:19 pm]
var vs out
by
Paolo
[
Today
at 06:37:35 pm]
[UNSOLVED] Splitting an i...
by
madref
[
Today
at 05:40:09 pm]
Error installing EyeCandy...
by
madref
[
Today
at 05:21:41 pm]
Lazarus Bugfix Release 4....
by
geraldholdsworth
[
Today
at 04:55:42 pm]
[Solved[ How to define th...
by
Mike.Cornflake
[
Today
at 03:42:11 pm]
Dataset EnableControls/Di...
by
Mike.Cornflake
[
Today
at 03:37:42 pm]
'ReadStr' ?
by
J-G
[
Today
at 03:07:16 pm]
Debugging in a real termi...
by
Martin_fr
[
Today
at 02:59:09 pm]
how to bring in view the ...
by
Aruna
[
Today
at 02:33:55 pm]
Is it possible to communi...
by
dbannon
[
Today
at 02:15:44 pm]
TFPHTTPServer DDoS protec...
by
LemonParty
[
Today
at 12:54:23 pm]
enable easy marker moveme...
by
Paolo
[
Today
at 12:10:00 pm]
Unleashed Pascal (async/a...
by
creaothceann
[
Today
at 12:09:09 pm]
MOVED: soucis scrollbars ...
by
Martin_fr
[
Today
at 11:09:38 am]
soucis scrollbars V4.8 ?
by
Martin_fr
[
Today
at 11:08:13 am]
Star Wars Galaxian
by
PierceNg
[
Today
at 10:37:08 am]
[closed] Is case for stri...
by
egsuh
[
Today
at 10:27:17 am]
Automatic generation of *...
by
dbannon
[
Today
at 09:00:50 am]
Gtk3 becomes default widg...
by
dbannon
[
Today
at 08:44:10 am]
TurboBird for FireBird 5
by
laguna
[
Today
at 07:45:04 am]
Bugs caused by the weathe...
by
dsiders
[
Today
at 04:40:59 am]
Lazarus Bugfix Release 4....
by
moinsen
[
Today
at 12:57:37 am]
Lazarus IDE plugin that i...
by
BSaidus
[August 10, 2026, 11:21:20 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Disable localisation for FormatDateTime ? (Read 492 times)
Nitorami
Hero Member
Posts: 605
Disable localisation for FormatDateTime ?
«
on:
September 11, 2024, 04:55:39 pm »
Simple question: I am in Germany but need to FormatDateTime() to work with english month names always. Can I disable the localisation (windows) or force the language manually ? Not related to LCL, just for reading/writing text files.
«
Last Edit: September 11, 2024, 05:04:13 pm by Nitorami
»
Logged
Thaddy
Hero Member
Posts: 19606
Glad to be alive.
Re: Disable localisation for DateTimeFormat ?
«
Reply #1 on:
September 11, 2024, 05:04:58 pm »
You can edit the FormatSettings variable (global) or simply save the formatsettings and derive from that and do it locally (TFormatSettings).
Logged
Any "programmer" that knows only one programming language is not a programmer
Nitorami
Hero Member
Posts: 605
Re: Disable localisation for FormatDateTime ?
«
Reply #2 on:
September 11, 2024, 05:09:21 pm »
I thought of this option but hoped there was a simpler way by setting a global language identifier of some sort
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Disable localisation for FormatDateTime ?
TinyPortal
© 2005-2018