04 2008 档案
摘要:2008-04-19 16:13 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTi...
阅读全文
摘要:在sql中,smalldatetime及datetime型的数据显示不是那么让人满意,因此我找了些格式化的方法列出来" convert(char(10),datetime,101) 在数据库取出来的时候就转换好 select getdate() 2006-05-12 11:06:08.177 我整理了一下SQL Server里面可能经常会用到的日期格式转换方法: 举例如下: ...
阅读全文

浙公网安备 33010602011771号