Hi,
I have a problem with "mixing" a Date (given from a TMonthCalendar) and a Time (given indirectly from a TEdit) to one TDateTime-Value.
The MonthCalendar returns a TDateTime-Value with the current or specified Date (which is good) and also with the current Time (which is no good)
eg. 25.04.00, 15:54:00
and the StrToTime(Edit1.Text) returns the Time only (which is enough for me)
31.12.1899 (or something), 16:00:00
but when i simply add those two DateTime-Values I get something completly weird. So how would i mix the Date from the MonthCalendar with the Time from the Editbox to
25.04.00, 16:00:00
I think it cant be that hard, but im not really familiar with TDateTime...
Try that...