In MaskEdBox, I have the following code:
Now if the date part is less than 10, then it display only 1 integer, but the Mask expect 2 integer. So error occur.Code:medDOB.Mask = "##/##/##" medDOB.Text = Format(rstPlayer!sgcusbdate, "ddddd")
How can I make sure that the datepart is always 2 integers? (Note: I must use dateformat "ddddd" ie. vbshortdate since this is an international app.)
Thanks.




Reply With Quote