If you have MPEX, it's a one-line deal:
%CALC STRWRITE(TODAY-2:'%4Y%0M%0D')
20030528
-----Original Message-----
From: Bob McGregor [mailto:[log in to unmask]]
Posted At: Tuesday, May 27, 2003 10:30 AM
Posted To: HP3000 Listserv
Conversation: Re: Converting HPDOY
Subject: Re: Converting HPDOY
Actually what I'd like to do is
setvar testdoy,hpdoy - 2
and then convert testdoy to a date in mmddyy (or any) format
On Tuesday, May 27, 2003 11:24 AM, [log in to unmask] wrote:
>The variable HPYYYYMMDD will give you the date.
>
>Brian.
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
CONFIDENTIALITY NOTICE: This e-mail, including attachments, is for the
sole use of the individual(s) to whom it is addressed, and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure, distribution, or reproduction is prohibited. If you have
received this e-mail in error, please notify the sender by reply e-mail
and destroy this message and its attachments. Thank you for your
cooperation.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|