Hi Libby on don't know how to explain it, but i want to use a MaskEdit.
Greetings. PK
Main Topics
Browse All TopicsDear Experts,
Can someone please help me with this problem:
This is the case:
On a form I have put a MaskEdit and a Label.
When a user enters a date in the MaskEdit.
Something or perhaps an event has to convert the date
to the name of the day and display it in a label.
For example if the user enters: 01-01-2006
the label has to give: Wednesday.
Who can help me with this, I have also never used a MaskEdit.
Peter Kiers
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Well in my other answer I told you to use a TDateTimePicker or get one from the JVCL JEDI components.
Any ways, I believe all the tools you'll need will be in the DateUtils unit - check it out in the help menu.
For example to check if a date is valid you could use the IsAValidDate Routine.
To get the day from a date you can use the DayOf routine.
Just add DateUtils to your unit
Business Accounts
Answer for Membership
by: rllibbyPosted on 2008-11-25 at 10:30:45ID: 23036651
Out of curiosity, is there a reason why you are using a mask edit vs a TDateTimePicker? Seems like the TDateTimePicker would be more of what you are loking for, as the date validation is already built in. Plus, if you change the DateFormat to dfLong, you will also see the day in the edit field. (based on Regional settings of course).
Russell