DateTime.Now

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

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

原文地址:https://www.cnblogs.com/Tonyyang/p/1262690.html