HP3000-L Archives

December 1999, Week 5

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:
Scott Lindholm <[log in to unmask]>
Reply To:
Date:
Thu, 30 Dec 1999 11:31:07 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Distinguished listers,

I was running over a Y2K test script when I noticed something funny.  I have
looked it over several times and I think that I am doing everything
correctly.  There is either a Y2K issue with MPEX's date formatting or I am
missing something.

959_sys_%setvar date today + 7
959_sys_%showvar date
DATE = 00/01/06            **this is the date that I expected to see**
959_sys_%setvar date2 strwrite(!date:'%4Y%0M%0D')  **format the date to
YYYYMMDD**
959_sys_%SHOWVAR DATE2
DATE2 = 19000106  **oops!  Why are we all of the sudden in the 1900's??**
959_sys_%

Anybody have an idea??


Scott Lindholm
Sr. Systems Administrator
1 Environmental Way
Broomfield, Colorado 80021-3416
(303) 664-3264
[log in to unmask]

ATOM RSS1 RSS2