> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Neven MacEwan
> Sent: Tuesday, 21 December 1999 10:24
> To: Multiple recipients of list delphi
> Subject: Re: Re: [DUG]: Date/Time calculations
>
>
> Rohit
>
> I was just commenting on someone who emailed that DecodeDate of some such
> function didn't give the the correct difference (in Years month days) on a
> Date Differential (which of course it cant and is not designed to)

Why not?

All DecodeDate does is turn a number into a year/month/day representation
and in so doing it adds an offset of 30/12/1899 to it. What I asked for is
very simple - that the offset not be added.

============================================
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to