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


  • Subject: RE: Date subroutine!
  • From: "Kahn, David" <KAHN@xxxxxxxxxxxxxxxxxx>
  • Date: Tue, 16 Sep 1997 08:46:00 +0600

Tim Truax (truax@usaor.net) wrote:

>I completed writing an externally called date subroutine that works real
>neat on the AS400 using RPG (I am going to be writing an entire library
>full of them).

Tim, you're re-inventing the wheel. Whatever routines you write, and
however cool the code, I guarantee you they've all been done many, many
times before. Between March and June 1990 News/400 published a series of
articles by Paul Conte and Sarah Peters entitled "The Last Date Routines
You'll Ever Need". These provided code for just about everything you
could want to do with dates from 1/1/1 to 12/31/9999, and even took the
missing days from the Gregorian calendar reform into account. I strongly
advise you to take a look at these before you spend much more of your
valuable time on this project.

Dave Kahn - TCO, Tengiz, Kazakstan
=========

e-mail:  kahn@tengizchevroil.com    (until September 30th)
         dkahn@cix.compulink.co.uk  (from  October 1st)

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.