Click here to Skip to main content
13,055,798 members (49,447 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted 25 Jan 2013

datetime formate problem

, 25 Jan 2013
DateTime dt = DateTime.ParseExact(yourObject.ToString(), "MM/dd/yyyy hh:mm:ss tt", CultureInfo.InvariantCulture);string s = dt.ToString("dd/MM/yyyy");

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 25-Jan-13 1:35 Available Abhishek Pant
Code block added
1 No 25-Jan-13 1:13 Available Vinodh.B

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Vinodh.B
Software Developer
India India
No Biography provided

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170713.1 | Last Updated 25 Jan 2013
Article Copyright 2013 by Vinodh.B
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid