stnkyminky
Programmer
I am using a masked edit box. I am using a mask as follows ##/##/####. When I return the date using formatdatetime(date, vbshortdate) or (date, "mm/dd/yyyy" I rcv 1/2/2002. The problem occurs, I think, because the month and day are not two characters. I changed the system date and the code works fine for dates with two char days and months. How do I work around this problem? Scott
Programmer Analyst
Programmer Analyst