DateTime.Now.ToString("dd-MMM-yyyy")想得到英文的月份,如:05-Mar-2008,可是这样s转化完总是得到"05-三月-2008",我应该在哪里设置呢?

 

System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");

相关文章:

  • 2022-12-23
  • 2021-10-14
  • 2021-07-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-02-23
  • 2021-09-27
  • 2022-12-23
相关资源
相似解决方案