?
Solved

how to convert date format in vb.net

Posted on 2013-06-30
6
Medium Priority
?
509 Views
Last Modified: 2013-07-23
How to display date format in vb.net in dd-MMM-yy format  in textbox.
0
Comment
Question by:searchsanjaysharma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 27

Accepted Solution

by:
MacroShadow earned 668 total points
ID: 39288583
Dim myDate As Date = Now()

TextBox1.Text = Format(myDate, "dd-MMM-yy")

Open in new window

0
 
LVL 28

Assisted Solution

by:Ark
Ark earned 668 total points
ID: 39288699
Or
TextBox1.Text = myDate.ToString("dd-MMM-yy")
0
 
LVL 10

Assisted Solution

by:Monica P
Monica P earned 664 total points
ID: 39289561
I hope above way of formating will help you..

If u need more information : http://www.dotnetperls.com/datetime-format-vbnet
0
 

Author Closing Comment

by:searchsanjaysharma
ID: 39336636
tx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question