Hi
I have changed my regional options on my computer to English (United States)
(I used to have Swedish). I would print the value of the current time in a
textbox on my asp.net page. I use this function:
txtTime.Text = DateTime.Now.To ShortTimeString ();
The time shown on the page is on the format 16:34 and I dont want that. I
want the american format. What can be wrong?
Thanks
Julia
I have changed my regional options on my computer to English (United States)
(I used to have Swedish). I would print the value of the current time in a
textbox on my asp.net page. I use this function:
txtTime.Text = DateTime.Now.To ShortTimeString ();
The time shown on the page is on the format 16:34 and I dont want that. I
want the american format. What can be wrong?
Thanks
Julia
Comment