For the moment, the compare date is only set when the calendar is changed. It is a pre-created delphi calendar that's used, and the date from that is simply obtained by:
Calendar1.CalendarDate, and is called in the procedure Calendar1Change(Sender: TOBject).
The small date and big date are both...
Thanks for the reply guys :D
Neither seemed to work, the first way it said operator not applicable to this operand type.
The second way it said DateInRange wasn't found, even though DateUtils is being used :/
Thanks though
Hello,
In the system I am currently making I require to know if 1 date is between 2 others.
The 2 dates it must be between are part of a record, and the date which is tested for being between them is a date selected using the calendar.
As an algorithm:
Date1, SmallDate, BigDate <-- TDateTime...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.