posts - 77,  comments - 28,  trackbacks - 2
公告
错误用法:
?Convert.ToDateTime("2005/12/22 22:22:22").ToString("YYYY/MM/DD HH:MM:SS")
"YYYY/12/DD 22:12:SS"
?Convert.ToDateTime("2005/12/22 22:22:22").ToString("yyyy/mm/dd hh:mm:ss")
"2005/22/22 10:22:22"
 
正确用法:
Convert.ToDateTime("2005/12/22 22:22:22").ToString("yyyy/MM/dd HH:mm:ss")
"2005/12/22 22:22:22"
posted on 2006-10-17 16:57 绯村剑心 阅读(...) 评论(...) 编辑 收藏