7 May
2001
7 May
'01
5:24 p.m.
Kai Hofmann writes:
the "enddate" I showed in the "pseudo"-code has been defined as an object= s=20 property of type "date" - so I assumed the argument is correct - isn't it= ? But then the result *IS* correct, too!
If you have, as is you example: enddate=<todays date without time> then DateTime().lessThanOrEqual(enddate) must return "false" most of the day. As the name suggests: "DateTime" is date *AND* time. "lessThanOrEqual" must take both components into account. Dieter