Where is the system locale/culture set for .Net

后端 未结 7 1498
时光取名叫无心
时光取名叫无心 2020-12-09 20:49

I have a problem with a c# assembly (.net 2.0 written using Visual studio 2005) that is installed on a UK server and should use UK regional settings.

What my code do

相关标签:
7条回答
  • 2020-12-09 21:50

    Assemblies in .net framework are culture neutral.

    What code are you trying to convert the date? If you are using Parse or TryParse, try providing the culture argument for it to understand the date.

    0 讨论(0)
提交回复
热议问题