Don't databases store 'date' types such that they CAN be compared exactly
as you want?
-David
On Tue, 5 Sep 2000 14:30:57 +0100 "James Smith"
<[EMAIL PROTECTED]> writes:
> ORDER BY Date will include the year, so 01/JAN/1940 will always
> appear
> before 02/DEC/1999 even though on 01/DEC/2000 it is only one day to
> the
> second date but 31 days to the first. That is why I need the
> datecompare
> function (although it is slightly more complicated than just
> datecompare(date, now()) it is actually
>
> #abs(datediff("D", createdate(year(now()), month(date), day(date)),
> now()))#
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.