troubleshooting Question

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

Avatar of mitesh114
mitesh114 asked on
Visual Basic.NET
2 Comments1 Solution226 ViewsLast Modified:
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?
ASKER CERTIFIED SOLUTION
divinewind80

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros