Hi Well...
I might not know all the answers... but I know this one!!
Q: How does one store a date less than 1899 using a Delphi program?
A: You can have negative date values.
Regards
C Fraser
<Snip....>
>> Subtracting 30/12/1899 from the Years won't help - not unless you always
> want your age calculated as X days from 30/12/1899 (a date's idea of 0).
A person's age is their date of birth subtracted from the current date. The
30/12/1899 offset is an arbitrary one (Delphi1 used a date calculated from
the year 1; Pdox uses 9999 BC.
How does one store a date less than 1899 using a Delphi program?
---------------------------------------------------------------------------
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
- RE: [DUG]: Date/Time calculations Chris Crowe
- RE:[DUG]: Date/Time calculations Terry Johnson
- RE: [DUG]: Date/Time calculations Greg Nixon
- Re: [DUG]: Date/Time calculations Rohit Gupta
- RE: [DUG]: Date/Time calculations Carl Reynolds
- RE: [DUG]: Date/Time calculations Patrick Dunford
- Re: [DUG]: Date/Time calculations Backup Co
- RE: [DUG]: Date/Time calculations Myles Penlington
- RE: [DUG]: Date/Time calculations Carl Reynolds
- RE: [DUG]: Date/Time calculations Patrick Dunford
- Re: [DUG]: Date/Time calculations Colin Fraser
- Re: [DUG]: Date/Time calculations Neven MacEwan
- Re: [DUG]: Date/Time calculations Tony Blomfield
- Re: [DUG]: Date/Time calculations Rohit Gupta
- Re: [DUG]: Date/Time calculations Tony Blomfield
- Re: [DUG]: Date/Time calculations Rohit Gupta
- Re: Re: [DUG]: Date/Time calculations Neven MacEwan
- RE: Re: [DUG]: Date/Time calculations Patrick Dunford
- Re: Re: [DUG]: Date/Time calculations Neven MacEwan
- RE: [DUG]: Date/Time calculations Carl Reynolds
