[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

December 30th, 1899?

I'm having a problem with the date time function in free pascal.  below is 
the code i'm using.

    db      : sqldbrec;
    user, pass: PChar;
    thismoment : TDateTime;
    date_thisMonth : ansistring;
    date_nextYear  : ansistring;

      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 

Joel Maxwell,
WWHCN System Administrator
program sig
// uses ggi, gtk, mysql;
        WriteLn('Content-type: text/plain');
        WriteLn('"This is your life.  This is your fucking life."');
        WriteLn('  -- Kein Mitleid fur das Mehrheit');

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: