HP3000-L Archives

March 2003, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jeff Keepers <[log in to unmask]>
Reply To:
Date:
Mon, 17 Mar 2003 14:33:03 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
I am working on a routine that will add 5 working days to the current date.  It
is a rather simple loop that uses the HPDATEOFFSET intrinsic to add a day to the
current date, checks to see of the day of the new date is a sat or sun via the
HPDATEFORMAT intrinisc.  If the day is NOT Sat or Sun, the loop counter is
updated and another day is added.  If the day is SAT or SUN, the loop counter is
NOT updated and another day is added.  The loop terminates when the loop counter
hits 5.

For some reason I keep receiving an error in the HPDATEOFFSET intrinsic.  Since
I am using an 8 digit year, I have the day datecode set to 18.  If I display the
intrinsic status it comes back null.  A check of the web came up with limited
information.  Does anyone out there have any ideas as to what the problem could
be?  Any assistance would be greatly apprectiated!

Jeff

PS.  Direct responses would be really appreciated as I only obtain the digest
version

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2