Date time formate problem in c#

Posted by jestges on Stack Overflow See other posts from Stack Overflow or by jestges
Published on 2010-05-12T11:33:40Z Indexed on 2010/05/12 11:44 UTC
Read the original article Hit count: 204

Filed under:
|

Hi I'm working with c# simple application to display system date time.

textbox.Text = DateTime.Now.ToString("MM/dd/yyyy");

but it is showing result as : 05-12-2010

What is the problem with this code? or do I need to change any where in the regional settings of my machine.

thank you

© Stack Overflow or respective owner

Related posts about c#

Related posts about datetime