Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Globalizate DateTime.toString() method


Message #1 by "Minh T. Nguyen" <nguyentriminh@y...> on Wed, 17 Apr 2002 15:58:18 -0700
Hey folks,

	When you use the DateTime.toString() method, it displays the
string in the current culture that is set in the Web.config file. This
is nice and all, but I would rather want ASP.NET to use the current
culture that is set in the Regional Settings in the Control Panel. This
way, if you install my ASP.NET application on a server in Europe, it
will output the date strings in that appropriate format as well, without
forcing the the system administrators there to manually edit the
Web.config file. 

	I mean, Windows Forms application do that. They use the Regional
settings, but why wouldn't ASP.NET do it? It always defaults to en-US. 

Minh. 


  Return to Index