Date Format

  • Thread starter Thread starter Elliot
  • Start date Start date
E

Elliot

Guest
Although the short date format is "d/M/yyyy" under "Regional and Language
Options", my server still generate a "M/d/yyyy" format. How can I completely
change it?

<%=DateTime.Now.ToString()%>
7/23/2008 7:27:41 AM
 
Re: Date Format

Solved by changing values in
HKCU\Control panel\International
and HKU\DEFAULT\Control Panel\International



"Elliot" <elliot_barclay@hotmail.co.uk> wrote in message
news:9CB6D8FC-2D51-48BC-83CF-70C404524B8F@microsoft.com...
> Although the short date format is "d/M/yyyy" under "Regional and Language
> Options", my server still generate a "M/d/yyyy" format. How can I
> completely change it?
>
> <%=DateTime.Now.ToString()%>
> 7/23/2008 7:27:41 AM
 
Back
Top