我正在尝试获取当前时间:
date = "(" + DateTime.Today.Year.ToString() + "-" +
DateTime.Today.Month.ToString() + "-" + DateTime.Today.Day.ToString() + " " +
"(" + DateTime.Today.Hour.ToString() + ":" + DateTime.Today.Minute.ToString()
+")" + ")";
这应该得到一个日期,如:
(2013-2-1 (13:01))
但它给了我:
(2013-2-1 (0:0))
我怎样才能解决这个问题?