Rodney Vinyard - .NET & SQL Developer
When all is said and done, more will be said than done
My Links
Home
Archives
Links
Contact
Syndication
Login
News
Recent Comments
Try to search something related to this post with ...
by vitjot2
It needs very long period of time to submit the su...
by Piper31
We come to article submit service to make the rele...
by Ellie26
this topic - a kind of great article! Thanks a lot...
by Jonnw0w
I am affected because of the very good articles ju...
by Joan18
<< Allow only one instance of any MDI child form in your MDI application
|
Home
|
convert xml string to dataset & WriteXmlSchema to string >>
C# Format Date
C# Format Date
_attribute =
" effectiveDate=\""
+
string
.Format(
"dd/MM/yyyy"
, _value).ToString() +
"\""
;
Print
| posted on Tuesday, September 12, 2006 1:08 PM
Comments
#
re: C# Format Date
Jeferson Nascimento
Code above is Wrong....
string.Format("{0:dd/MM/yyyy}", _value).ToString();
Posted @ 3/9/2007 7:32 PM
#
re: C# Format Date
ryan(philippines)
this code is very useful.:)
Posted @ 3/25/2007 10:07 PM
#
re: C# Format Date
zahir
the above code is wrong.
you have to use like this:
formateddate=DateTime.Now.ToString("dd / MMM/ YYYY");
or
("dd-MM-yy") or ("dd-MMM-YYYY");
Posted @ 4/3/2008 12:43 AM
#
re: C# Format Date
dkl
Thanks very much
Posted @ 8/14/2008 4:25 AM
#
re: C# Format Date
AL
Thanks a lot for this code and comments. :D
Posted @ 10/6/2008 1:53 PM
#
re: C# Format Date
lotto
DateTime dt = DateTime.Now;
string dateString = String.Format("{0:MM/dd/yyyy}",dt)
Posted @ 2/17/2009 8:26 AM
#
re: C# Format Date
Nripin
Thanks Zahir !!!
Posted @ 7/3/2009 6:41 AM
#
re: C# Format Date
noha
thanks zahir
Posted @ 9/3/2009 6:59 AM
#
re: C# Format Date
Yasir
Thanks, it worked
Posted @ 10/10/2009 4:01 AM
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
Remember Me?