2010年7月22日

c#时间格式转换

摘要: string.Format("{0:d}",dt);//2005-11-5 string.Format("{0:D}",dt);//2005年11月5日 string.Format("{0:f}",dt);//2005年11月5日14:23 string.Format("{0:F}",dt);//2005年11月5日14:23:23 string.Format("{0:g}",dt);//2005... 阅读全文

posted @ 2010-07-22 10:53 bicabo 阅读(416) 评论(0) 推荐(0) 编辑

导航