字符类型的转成固定时间格式

Convert.ToDateTime(startdate).ToString("yyyy-MM-dd")

posted @ 2014-08-15 16:52  xjt360  阅读(135)  评论(0编辑  收藏  举报