C#------DateTime自定义格式

var text = Convert.ToString(DateTime.Now.ToString("yyyy/MM/dd"));

 

posted @ 2016-11-06 17:03  玉天恒  阅读(1282)  评论(0编辑  收藏  举报