December 30th, 1899?
I'm having a problem with the date time function in free pascal. below is
the code i'm using.
var
db : sqldbrec;
user, pass: PChar;
thismoment : TDateTime;
date_thisMonth : ansistring;
date_nextYear : ansistring;
begin
...
date_thisMonth := FormatDateTime('YYYYMM',ThisMoment);
the problem is that on my debian 3.0 machine (and another machine with some
debian 3.0 packages)
The date gets returned as 189912, as in December 30th, 1899.
Is this a bug in the debian system or free pascal?
will recompile and test on a 2.2 only machine soon, will update on the
results.
--
Joel Maxwell,
WWHCN System Administrator
---------------------
program sig
// uses ggi, gtk, mysql;
begin
WriteLn('Content-type: text/plain');
WriteLn('"This is your life. This is your fucking life."');
WriteLn(' -- Kein Mitleid fur das Mehrheit');
end.
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: