BS> DK> I'm looking for a way, to have delphi provide a date into the future.
BS>Remember that a TDateTime variable is really just a real number, of which
>the integer part is the number of days since some obscure reference date
n
>the past, and the fractional part (if not 0.00) represents the
ime-of-day.
>So to move forward by 14 days, just add 14.0, e.g.
BS>TwoWeeksAhead := Date + 14.0 ;
Ouch! (Slapping head!). You are correct, I mistakenly assumed that a
tDateTime was equal to TP's DateTime Record structure. That'll teach me to
read the docs....
Thanks,
=Don=
---
* QMPro 1.52 * System halted... hit to continue...
--- InterEcho 1.18
---------------
* Origin: the Squirrel's Nest BBS þ (909) 338-4748 (1:207/501)
|