From: jhmeyers@miu.edu (John H Meyers)
Subject: Re: HP 48 SX GX  Day Of Week
Date: 28 Apr 1997 00:00:00 GMT
Message-ID: <5k36u3$8fo$1@news.iastate.edu>
References: <335D66A8.525F@netnitco.net>
Organization: M.U.M. (Author's personal opinion only)
Newsgroups: comp.sys.hp48


In article <335D66A8.525F@netnitco.net>
(Tue, 22 Apr 1997 20:32:24 -0500),
nigle@netnitco.net (JOEL J. JANOWSKI) writes:

> I have an HP41CX function of EXE DOW to figure the day of week
> Would anyone out there know if either the SX or GX has a DOW function?

  \<< 1.0119 SWAP DDAYS 7 MOD 1 + \>> 'WN' STO

  \<< 0 DATE+ "MonTueWedThuFriSatSun" @ Adjust for any language
      OVER WN 3 * DUP 2 - SWAP SUB \->TAG \>> 'WD' STO

  The 'WN' program returns 1 (Monday) thru 7 (Sunday).

  The 'WD' program tags a date with the name of the weekday,
  e.g. 4.04 --> Fri: 4.041997

-----------------------------------------------------------
With best wishes from:   John H Meyers   <jhmeyers@mum.edu>

