select now();
select current_timestamp; --也是一样的效果
select current_date;
select current_time;
时间字段的截取
取年份
select extract(year from now());
取月份
select extract(month from now());
取给定的时间的日期
select extract(day from timestamp '2013-04-13');