Date Problem in Client Machine . . .

Posted by Prabhakar under C# on 9/16/2011 | Points: 10 | Views : 1599 | Status : [Member] [MVP] | Replies : 3
i am use date in my website many phases . . Add date by Calender .. and save in Data base . . And Set Regional Setting United Kingdom Also ..

in my system Date Show Look like 16/Sep/2011 .. is it ok . . With me. . . But i am Trying this code with Client machine with Set Regional Setting . . Date Show Exevrwhere . . on Textbox... Gridview in Diffrent Format look like .. . 09/16/2011


What's i am goning to be wrong . . Suggest me . .

Best Regard's
Prabhakar



Responses

Posted by: Vuyiswamb on: 9/16/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
There is a Simple Answer for you. Format the dates based on a regional Setting. see how its done here

http://msdn.microsoft.com/en-us/library/5hh873ya.aspx

Thank you for posting at Dotnetfunda
[Administrator]

Prabhakar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 9/16/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Vuyiswamb,

i am try this . . but it's not working for me.. . means it's working on my machine but ... that code i am try to Client machine . . So Problem Is genrated. . ...


Best Regard's
Prabhakar

Prabhakar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 9/16/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Lets TeamView later. contact me on Gtalk

Thank you for posting at Dotnetfunda
[Administrator]

Prabhakar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response