• Subject: Re: Can I get the Day of the week?
  • From: Douglas Handy <dhandy1@xxxxxxxxxxxxx>
  • Date: Wed, 16 May 2001 10:05:42 -0400

Mike,

>The one problem I have with most of these suggestions is that the date is
>then dependant upon a known date. Doesn't other people see something wrong
>with this?

Not unless you are going to rewrite history and declare that the selected base
date actually was a different day of the week under your calendar.

If the concern is for handling dates *prior* to the selected base date, then the
versions which handle a negative remainder account for that too.

What is inherently wrong with using a base date known to have been a specific
day?  (Assuming negative remainders are also handled.)

Doug

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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