Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
490 Points
147 Posts
Oct 12, 2009 01:51 PM|LINK
Hi,
You can do like this:
VB.NET:-
Dim departDate As Date = Your input(geting date in textbox)
Dim d As String = Format(departDate, "DD/MM/YYYY")
C#:-
System.DateTime departDate = Your input(geting date in textbox);
string d = Strings.Format(departDate, "DD/MM/YYYY");
giveup
Member
490 Points
147 Posts
Re: Date Culture
Oct 12, 2009 01:51 PM|LINK
Hi,
You can do like this:
VB.NET:-
Dim departDate As Date = Your input(geting date in textbox)
Dim d As String = Format(departDate, "DD/MM/YYYY")
C#:-
System.DateTime departDate = Your input(geting date in textbox);
string d = Strings.Format(departDate, "DD/MM/YYYY");
Please remember to click “Mark as Answer” on the post that helps you, it will help other(s) to get there answer.