Solved

how to convert date format in vb.net

Posted on 2013-06-30
6
496 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
6 Comments
 
LVL 26

Accepted Solution

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

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

Open in new window

0
 
LVL 27

Assisted Solution

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

Assisted Solution

by:Monica P
Monica P earned 166 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now