× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



In Query/400 result fields (odddat is field from file, in mmddyy format)

ddat         date(substr(odddat,1,2) || '/' ||
                substr(odddat,3,2) || '/' || subs
                tr(odddat,5,2))
daydsiff   days(current(date)) - days(ddat)

Similar in SQL

HTH

Vern

At 03:36 PM 2/27/2003 -0500, you wrote:
OK, you all know I am not technical.  My programmer is on vacation.  I
need to do a compare of date1 to date2 and calculate the number of days
between.  Can I do that in a query?  If yes, any direction of how would be
greatly appreciated.

Gail Crane
Johanson Manufacturing Corp.
phone 973-334-2676
gcrane@xxxxxxxxxxxxxxx



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.