HP3000-L Archives

December 2016, 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:
Doug Werth <[log in to unmask]>
Reply To:
Doug Werth <[log in to unmask]>
Date:
Wed, 21 Dec 2016 08:51:08 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
On 12/20/2016 9:40 AM, James B. Byrne wrote:
> Can someone point me to, or provide directly, an example of doing date
> time calculations in the MPE/iX CI?  Specifically I wish to determine
> the date N days in the future or past from the current.

Download the free DATEOFF utility from the Beechglen web site. Use it in 
command files to set a new CI variable in YYYYMMDD format as the number 
of days offset, plus or minus.

http://www.beechglen.com/mpe/downloads/

    :dateoff !hpyyyymmdd,-150
    DATEOFF v1.01  Beechglen Development  [log in to unmask]

    Executing SETVAR HPDATEOFFSET,20160724


    :dateoff 20161215,26
    DATEOFF v1.01  Beechglen Development  [log in to unmask]

    Executing SETVAR HPDATEOFFSET,20170110


Regards,

Doug.
--
*Doug Werth*|  Director of Technical Support Services  |  Beechglen 
Development, Inc.
[log in to unmask]  | 513-922-0509 x426  |  Cincinnati, Ohio | 
www.beechglen.com


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

ATOM RSS1 RSS2