[mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Kyley Harris
Sent: Wednesday, 10 November 2010 11:26 PM
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] TFormatSettings
I never store dates in a locale format.. Editing them on the GUI is
fine.. but the moment the value is pulled from
: [DUG] TFormatSettings
I never store dates in a locale format.. Editing them on the GUI is
fine.. but the moment the value is pulled from the edit control its
either TDateTime, or a Fixed internal string format '-mm-dd' when
needing to pass a value through streams etc. I've found it bad
...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Wednesday, 10 November 2010 10:56 PM
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] TFormatSettings
This is really bizarre.
I store a snapshot of all the regional settings when the program
Sorry, found the problem.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Wednesday, 10 November 2010 10:56 PM
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] TFormatSettings
This is really bizarre.
I store
This is really bizarre.
I store a snapshot of all the regional settings when the program is started,
to prevent issues if the date format is changed while the program is
running. I store a couple of dates in a string using DateToStr and use
StrToDate to convert it back later.
var FS: