CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DateTime Picker Problem
Dear BCB Users,
I was trying to make a Program that will notify when a particular time
on a particular Date has crossed. I used two DateTime Picker - one for
taking the date and the other for the time. Now here is the problem when the
date has crossed then
Now() >= TimePicker->Time && Now() >= DatePicker->Date
must be true. But in my program this is always remaining false. Thus it
never notifies. So I tried to use StrToDateTime.
Now() >= StrToDateTime(TimePicker->Time) && Now() >=
StrToDateTime(DatePicker->Date)
But even so the expression is always false.
Please get me a way to make it true when it is supposed to be.
Thanx to anyone who helps.
BYE
BID
W Komornicki's Home Page |
Main Index |
Thread Index