Not show what version you are running nor, exactly what your trying to accomplish but hopefully this will give you some food for thought.
HPDATE = 20
HPDATEF = TUE, DEC 20, 2016
HPDATETIME = 20161220095658400
HPDAY = 3
HPDOY = 355
HPHHMMSSMMM = 095658500
HPHOUR = 9
HPINTRODATE = TUE, DEC 20, 2016
HPINTROTIME = 9:25 AM
HPSPLITYEAR = 50
HPTIMEF = 9:56 AM
HPYEAR = 16
HPYYYY = 2016
HPYYYYMMDD = 20161220
HPYY = 16
HPMM = 12
HPDD = 20
HPHH = 09
HPMN = 25
HPMIN1 = 2
HPMMDDYY = 12/20/16
showvar hpversion
HPVERSION = C.65.04
:
:setvar tomorrow,!HPDD + 1
:SHOWVAR TOMORROW
TOMORROW = 21
Cheers,
John
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf Of James B. Byrne
Sent: Tuesday, December 20, 2016 9:41 AM
To: [log in to unmask]
Subject: [HP3000-L] CI date calculations
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.
I have read Appendix B of the 'MPE/iX Commands Reference Manual' but the examples therein do not provide much in the way of programming guidance with respect to date calculations. Neither does the Robelle paper on the subject.
Any help is much appreciated.
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:[log in to unmask]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|