HP3000-L Archives

October 1999, Week 1

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:
"L. A. Barnes" <[log in to unmask]>
Reply To:
L. A. Barnes
Date:
Tue, 5 Oct 1999 07:14:50 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
You could use HPDATEF and extract the year with the century.

Just a thought,

Larry Barnes

Scott Root wrote:

> To the people of the list,
>
> Okay, so I was doing a final bit of Y2K testing last week and had the !HPYEAR variable in a jobstream that renames some files. I realize that HPDATE variables drop any leading zeros but did not expect this for the year.
> Poor assumption on my part.
> 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. Somewhat confusing at first glance.
>
> Anyone have any thoughts or comments.
> Should I have any concerns?
>
> Were running iX ver 60
> TIA for the input.
>
> Scott Root
> Prescom Industries Inc.
> 703-905-4551

ATOM RSS1 RSS2