txtFormat.Text = string.Format("{0:yyyy/dd/MMM hh:mm:ss}", dt); // you can specify format according to your need
/* Format can be such as
dd/mm/yy
dd/mmm/yyyy
mmm/dd/yy
mm/dd/yy
mm/dd/yyyy
Note : you can use any separator in format .
*/
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
Raja RajanPosted Aug 24, 2015, 3:00 AM
really it works......