Subject: | |
From: | |
Reply To: | |
Date: | Thu, 20 Jun 2002 14:32:33 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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 *
|
|
|