inside SQL? you can use DatePart to get the different part of the date, use DateDiff to get the difference between two dates
解决方案 »
- ConnectionString 属性尚未初始化
- 谁能给一段用JQUERY同步访问WEBSERVICE的代码?
- 用JS获取服务器控件的ID
- 100分求助!关于生成图片预览的问题.
- 有没有办法使首页打开时,有window.open("index.aspx","xx","300,300");的效果
- SQL Server 中的动态SQL 怎么写呀
- 刚开始学ASP.NET,请教个数据库相关的问题.......
- !哪里有水晶报表的示例代码(C#)和文档阿?
- 想做一个公交线路查询系统(asp.net+c#),请大哥们给点思路!
- 无法联接ORACLE数据库,错误信息:ORA-01034:ORACLE not available 其它信息
- 为什么event handle 会丢掉?
- 谁能告诉这是为什么?我是按照书上的例子建立的数据库连接?
...another...为什么不看帮助呢
转换后进行处理。
maybe u would write the function what u want to do.
year()+'-'+month()+'-'+day()
C#
DateTime.Now.Year+'-'+DateTime.Now.Month+'-'+DateTime.Now.Day