HP3000-L Archives

May 1998, Week 2

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:
Lee Gunter <[log in to unmask]>
Reply To:
Lee Gunter <[log in to unmask]>
Date:
Mon, 11 May 1998 13:29:29 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
Your date component extraction functions should use RHT instead of LFT.
For today's date, ![LFT("0!HPDATE",2] will resolve to ![LFT("011",2)], or
"01" instead of "11".

Lee Gunter          [log in to unmask]




From: [log in to unmask] on 05/11/98 12:45 PM

Please respond to [log in to unmask]


To:   [log in to unmask]
cc:    (bcc: Lee Gunter/BCBSO/TBG)
Subject:  HPDATE INCORRECT




:SETVAR
GFILE,"CD"+"!HPYEAR"+"![LFT("0!HPMONTH",2)]"+"![LFT("0!HPDATE",2)]"
00003000
:SETVAR
GFILE2,"C2"+"!HPYEAR"+"![LFT("0!HPMONTH",2)]"+"![LFT("0!HPDATE",2)]"
00004000
:PURGE !GFILE
                                               00005000
PURGE CD980501
      ^
This executed this morning the 11th of May.
Should say CD980511
??????
Stephen  Johnson

ATOM RSS1 RSS2