|
Easiest way to subtract a certain number of days from the current date is the following: EVAL OneTwentyDaysAgo = %DATE() - %DAYS(120) OneTwentyDaysAgo would be a date field in this case. UDATE doesn't give you today's date all the time. It gives you the date on which the job began. Hope that helps. Donald R. Fisher, III Project Manager Roomstore Furniture Company (804) 784-7600 extension 2124 DFisher@xxxxxxxxxxxxx <clip> List: This should be easy, but I can't figure it out. I checked the RPGILE .PDF with no luck. I am getting an error when I put UDATE into a field I've defined as a date data type. I then want to do a SUBDUR 120:*D on it. What I need to be able to do is subtract 120 days from today's date. How would you do this? I know this is probably a common thing to do. <clip>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.