Whenever you want to format any DateTime in C#.NET and want to return it with specific type then you should use overloaded function of ToString(“<Pattern to get>”).
Some of it is here:
http://www.codeproject.com/KB/cs/DateTime_Patterns.aspx
Enjoy!!
Posted by kiranpatils on March 19, 2008
Whenever you want to format any DateTime in C#.NET and want to return it with specific type then you should use overloaded function of ToString(“<Pattern to get>”).
Some of it is here:
http://www.codeproject.com/KB/cs/DateTime_Patterns.aspx
Enjoy!!
Posted in Uncategorized | Tagged: DateTime | Leave a Comment »