• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 152
  • Last Modified:

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?
  • 2
1 Solution
Use the MASKEDBOX1.FormattedText property when you read the input
BenJrAuthor Commented:
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......
Would be it be accetable in your application to change the PromptChar to a space?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now