David J Taylor wrote:

>BaseDate := EncodeDate (2000, 1, 1);
>
>DaysSince := <date> - BaseDate;
>
Good shot, David!

I'd written EncodeDate off assuming SZ had already rejected it for some
reason.  Bad assumption.

And I use so many other SysTools and Orpheus components and functions
that work directly with STDate I couldn't see the tree for the forest.

How sweet it would be to have a web database of Delphi components and
functions we could search with parameter types and result/action terms
to always locate the simplest/closest solution.  My grey-matter database
seems inadequate ...

Malcolm


__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to