DateTime.Now.ToString("yyyy/MM/dd") 输出结果2006-03-16
忽略系统时间格式:
DateTime.Now.ToString("yyyy/MM/dd", System.Globalization.DateTimeFormatInfo.InvariantInfo);
DateTime.Now.ToString("yyyy/MM/dd") 输出结果2006-03-16
忽略系统时间格式:
DateTime.Now.ToString("yyyy/MM/dd", System.Globalization.DateTimeFormatInfo.InvariantInfo);