Avatar of mitesh114
mitesh114
 asked on

AppearanceDate displays date and time. How do I display just the date?

I am using the appearancedate property which is a property of the Area class.  It displays the date but displays the time after the date; for eg. "24/04/2007 00:00:00."

How do I get it to remove the timestamp?  I have tried myAreaListing.AppearanceDate.ToShortDateString but it doesn't work.  

I am not able to do a replace and remove the timestamp this way because it removes the sort order.  

Any ideas?
Visual Basic.NET

Avatar of undefined
Last Comment
mitesh114

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
divinewind80

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mitesh114

ASKER
thanks for the answer.  appreciated.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23