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

Reply via email to