Link to home
Start Free TrialLog in
Avatar of BenJr
BenJr

asked on

Date Formatting

I am using the MaskEdBox to capture a date.
If I use a format mm/dd/yyyy, the data ends up formatted the way I want. But as soon as I add the mask 99/99/9999 so the user does not have to key the /, the format no longer operates. How can I accomplish both?
Avatar of BergJC
BergJC

Use the MASKEDBOX1.FormattedText property when you read the input
Avatar of BenJr

ASKER

Thanks for trying, but I have tried this..... it does not work.... whether I read the Text, ClipText or FormattedText value the _ PromptChar remains and prevents the format function from operating......
ASKER CERTIFIED SOLUTION
Avatar of BergJC
BergJC

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial