Ok, except it would have been trivial to make deltadate variable.
It limits it. The only reason we noticed it now is that I
implemented an Age field - so the users can type date or age. And
the age never goes above 99 years.
On 4 Nov 99 at 10:15, Cooke, Andrew wrote:
> Because Mr Borland did it (in Delphi 2 so I remember) so that TDateTime was
> compatible with Mr Microsoft's OLE date/time.
> I had a feeling that you could use -ve values to get dates earlier than
> 1900. Have you experimented with this at all?
>
> - Andrew Cooke.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, November 04, 1999 10:31 PM
> > To: Multiple recipients of list delphi
> > Subject: Re: [DUG]: Delphi TDateTime
> >
> > Can anyone see any reason why I shouldnt fix this by changing
> > DateDelta in SysUtils.pas ?
> >
> > This is the craziest thing I have come across. I could keep dates
> > downto 0 and time downto centiseconds with 8 byte sin DOS, so why
> > cant Mr. Borland ?
> >
> > On 4 Nov 99 at 9:07, Rohit Gupta wrote:
> >
> > > I must be missing something, but why does this appear to base its
> > > value on 1900 ? I cant date anything before that date for any
> > > purpose - date of birth for instance.
> > >
> > > I am not looking forward to replacing this system/vcl wide. :-(
> > >
> > > Rohit
> > >
> > > ======================================================================
> > > CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
> > > PH (649) 489-2280
> > > FX (649) 489-2290
> > > email [EMAIL PROTECTED] or [EMAIL PROTECTED]
> > > ======================================================================
> > >
> > >
> > --------------------------------------------------------------------------
> > -
> > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > > Website: http://www.delphi.org.nz
> > >
> > Rohit
> >
> > ======================================================================
> > CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
> > PH (649) 489-2280
> > FX (649) 489-2290
> > email [EMAIL PROTECTED] or [EMAIL PROTECTED]
> > ======================================================================
> >
> > --------------------------------------------------------------------------
> > -
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz