Click here to Skip to main content
16,017,100 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am writing a small VB.NET Program using Visual Studio 2010. In that I have to fetch a date from a MS Access Database , the date in the DB is in (mm-dd-yyyy) format I want to convert it to (dd-mm-yyyy) format. Please help me.
Posted

1 solution

Here is the code that can help you.
VB
 var dateAsString = MSAccessDateTime.ToString("dd/MM/yyyy");
// dateAsString = "10/12/2015"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900