DateTime t = DateTime.Now; string s = t.ToString("yyyy年MM日dd日 dddd"); Console.WriteLine(s); s = t.ToString("dddd"); Console.WriteLine(s);
请参考,谢谢~