Oh yes! I had not used the encodedate function before. This proved to be the best and simplest solution. THANKS!
----- Original Message ----- From: "David J Taylor" <[EMAIL PROTECTED]> To: "Delphi-Talk Discussion List" <[email protected]> Sent: Monday, January 16, 2006 4:35 PM Subject: Re: Year 2000 > Fastream Technologies wrote: >> Hello, >> >> I need to get one of the following: >> >> - either days passed since 1,1, 2000 >> >> OR >> >> - TDateTime of 1,1,2000. >> >> Any idea how? >> >> Best Regards, >> >> SZ > > BaseDate := EncodeDate (2000, 1, 1); > > DaysSince := <date> - BaseDate; > > David > __________________________________________________ > Delphi-Talk mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi-talk __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
