Hello FPC-Pascal,
Wednesday, May 5, 2010, 11:23:42 PM, you wrote:
FC> Is the an LCL routine that can get the timezone from the computer on both
FC> Windows and Linux? None of the examples mention a way of getting the
FC> computer's time zone.
Usually you will have an environment variable TZ, but
Is the an LCL routine that can get the timezone from the computer on both
Windows and Linux? None of the examples mention a way of getting the
computer's time zone.
On 27 April 2010 20:57, Marco van de Voort wrote:
> In our previous episode, Frank Church said:
> > attempt is based on the method
In our previous episode, Frank Church said:
> attempt is based on the method here,
> https://forums.codegear.com/thread.jspa?threadID=16074, but
> StrToDateTime in FPC does not use the FormatSettings parameter.
Datetime handling has been rewritten since 2.4.0, and this is already merged
back to 2.
On 27 April 2010 17:43, Frank Church wrote:
> I want to convert a time stamp in -mm-dd hh:mm:ss format to a
> TDatetime in FPC but can't find but haven't found a way yet.
I have written the following for the tiOPF project and us it in our
company projects for all date/time values (including
Frank Church escreveu:
I want to convert a time stamp in -mm-dd hh:mm:ss format to a
TDatetime in FPC but can't find but haven't found a way yet.
A very simple function i use:
function XMLDateTime2DateTime(const XMLDateTime: String): TDateTime;
var
DateOnly: String;
TPos: Integer;
begin
Hello FPC-Pascal,
Tuesday, April 27, 2010, 5:43:30 PM, you wrote:
FC> I switched to using the unixtime value which is also present in the
FC> records I am using, but it does not allow for Daylight Savings Time
FC> and is currently an hour behind. Is there some way the FreePascal
FC> libraries can
I want to convert a time stamp in -mm-dd hh:mm:ss format to a
TDatetime in FPC but can't find but haven't found a way yet. My
attempt is based on the method here,
https://forums.codegear.com/thread.jspa?threadID=16074, but
StrToDateTime in FPC does not use the FormatSettings parameter.
functio