C# 给DateTime赋值正确方式

DateTime xxx = new DateTime(2007,1,1,21,21,21);

string time = new DateTime(2007, 1, 1, 21, 21, 21).ToString("yyyy年MM月dd日 HH点mm分ss秒");

原文地址:https://www.cnblogs.com/LuoEast/p/7744468.html