skip to main
|
skip to sidebar
Erics Dev Blog
Wednesday, January 14, 2009
ToString()
I am always forgetting how to use ToString() to get things formatted the way I want them.
To format a datetime as a date:
RequestedShipDate.ToString(
"d"
);
RequestedShipDate.ToString(
"MM/dd/yyyy"
);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2010
(2)
►
September
(1)
►
August
(1)
▼
2009
(10)
►
September
(1)
►
July
(2)
►
June
(1)
►
March
(1)
►
February
(1)
▼
January
(4)
Resetting password with asp.net security
AJAX and browser cache
Modifying a table in SQL 2008 Mgt Studio
ToString()
►
2008
(21)
►
December
(6)
►
November
(4)
►
October
(11)
About Me
Eric
Happily married to a wonderful woman for 21 years. 3 children. Active in my local church. Homebrewer Former US Marine.
View my complete profile
No comments:
Post a Comment