Format

<!--StartFragment-->Format(System.Convert.ToDateTime(e.Item.Cells(1).Text),"yyyy年M月d日 h点m分s秒")

select LEFT(Convert(varchar(30),getdate(),120),10)
select CONVERT (char(10), getdate() ,20)
posted @ 2004-09-21 12:53  可乐加冰  阅读(376)  评论(0编辑  收藏  举报