You are forcing it to be two characters, and you are forcing a 0 into
the first character, so when you hit a 2 character day then the second
number of the day is falling off the edge.
shawn
______________________________ Reply Separator _________________________________
Subject: HPDATE INCORRECT
Author: [log in to unmask] at Internet-Mail
Date: 5/11/98 12:45 PM
: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