kristain

博客园 首页 新随笔 联系 订阅 管理

2012年4月13日 #

摘要: 一、MySQL 获得当前日期时间 函数1.1 获得当前日期+时间(date + time)函数:now()mysql> select now();+---------------------+| now() |+---------------------+| 2008-08-08 22:20:46 |+---------------------+除了 now() 函数能获得当前的日期时间外,MySQL 中还有下面的函数:current_timestamp(),current_timestamp,localtime(),localtime,localtimestamp -- (v4.0.6 阅读全文
posted @ 2012-04-13 22:20 kristain 阅读(347) 评论(0) 推荐(0) 编辑