HP3000-L Archives

June 2002, Week 3

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:
David T Darnell <[log in to unmask]>
Reply To:
Date:
Thu, 20 Jun 2002 14:32:33 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
Is anyone aware of incorrect behavior of some MPED date maniplulation
routines?

We are experiencing this misbehavior with both the YYYYMMDD and CDATE
functions

#DATEBUILD expects parms in yr,mo,da, returns YY/MM/DD, per mpex help
133 %     SETVAR ENDMNH DATEBUILD(TDYEAR,TDMTH,DAYMTH)

# ENDMNH now = 02/06/16, which is correct yy/mm/dd format for YYYYMMDD
134 %     SETVAR ENDMT YYYYMMDD(!ENDMNH)

# ENDMT now 20160206, which is incorrect, should be 20020616
135 %     SETVAR ENDMTH ENDMT

194 DAYMTH = 16
195 TDMTH = 6
196 TDYEAR = 2002

197 ENDMNH = 02/06/16
198 ENDMT = 20160206


-Dave Darnell

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2