× 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.



You could convert your date to a date data type and substract 6 days from
it......

IE: this past sunday was 06/29/2007 - 6 days would yield a start date of
06/23/2007.

Opt code is %days(x);




From:
Adam West <adamster@xxxxxxxxx>
To:
rpg400-l@xxxxxxxxxxxx
Date:
07/01/2008 02:18 PM
Subject:
Using Subdur



HI In this case, I have to take a report and make it a weekly. I would
have this set to run on Every Sunday. I am not quite sure how to get to
the previous Monday. Subdur only tells me how many days between 2 dates. I
need to go back what 6 days and cap it for 4 more.

Also the dates in my file are YYMMDD. I would use the UDATE which is
MMDDYY..

Any help would be greatly appreciated.




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.