Subject: | |
From: | |
Reply To: | VANCE,JEFF (HP-Cupertino,ex1) |
Date: | Tue, 5 Oct 1999 10:49:36 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
...
> Example: !HPMONTH!HPDATE!HPYEAR used on 01/01/99 returns 1199.
> When I used this format with a system date of 01/01/00 and
> 01/01/01 the variables returned 110 and 111 respectively.
On 6.0 Express 1 you can use the new HPYYYYMMDD string variable.
On the above date you would get:
:showvar HPYYYYMMDD
HPYYYYMMDD = 20000101
An advantage of using this new variable versus concatenating the full
date from HPYYYY + HPMONTH + HPDAY, is that you do not need to be
concerned if your job is running at a day, month or year boundary.
The concatenation approach results in the wrong final date if
the day rolls to the next month in the middle of the equation.
regards,
Jeff Vance, CSY
|
|
|