Try this:
Put DateUtils in uses clauses, and after do:
DateTimePicker1.Date := IncDay(DateTimePicker1.Date, 10);
See too: IncMonth, IncYear...
I don't know if it's work with Time too...
Hi OnyxJr,
I don't think that is the problem. I think the problem is in the procedure DateTime2SystemTime in KOL.pas.
If I use this procedure to convert today (march 4, 2008),
I get ST.wYear=109, ST.wMonth=3 and ST.wDay=6
where it *should* read wYear=2008, wMonth=3 and wDay=4
That procedure is wrong, but I just cannot figure out why... have to do some more digging....
John