日期转换成字符串

 string time = DateTime.Now.ToString("yyyy-MM-dd HH:mm");

posted @ 2012-04-16 14:36  JackGIS  阅读(240)  评论(0编辑  收藏  举报