摘要:
另一篇有用的时间函数:http://hi.baidu.com/%BD%A3%BE%B2%B7%E3/blog/item/598fd1c6a59f630e0ef477d3.html(哥的百度空间,不过以后就用这个了)1、sql: localtime和now()返回当前日期与时间:2011-2-26 13:28:43 curtime()返回当前时间:13:28:43 curdate()返回当前日期:20112、sql: date('2011-03-23')返回表达式中的日期:2011-03-23 hour(time) 返回time中的小时 hour(10:23:12)返回10;se 阅读全文
posted @ 2011-07-28 17:33
ljfbest
阅读(269)
评论(0)
推荐(0)

浙公网安备 33010602011771号