Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to format to MM/DD/YYYY

Status
Not open for further replies.

taree

Technical User
May 31, 2008
316
US
How do you format this please.
Code:
txtIssueDate.Text =   dsMemos.Tables("Memos").Rows(i).Item("IssueDate").ToString

I would like to the result on the text box to display like this. MM/DD/YYYY
 
sorry guy i do not know why I post this quick but i figured it out and here is my solution.

Code:
 String.Format("{0:MM/dd/yyyy}", dsMemos.Tables("Memos").Rows(i).Item("IssueDate"))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top