摘要:
string.Format("{0:d}", System.DateTime.Now); //2017/6/2; string.Format("{0:D}", System.DateTime.Now); //2017年6月2日; string.Format("{0:f}", System.DateT 阅读全文
posted @ 2017-06-02 14:18
邵彷
阅读(1674)
评论(0)
推荐(0)
摘要:
第一种形式: System.DateTime.Now.ToString("D"); //2017年6月2日 System.DateTime.Now.ToString("d"); //2007-6-2 System.DateTime.Now.ToString("F"); //2007年6月2日 11: 阅读全文
posted @ 2017-06-02 13:43
邵彷
阅读(169)
评论(0)
推荐(0)

浙公网安备 33010602011771号