今天00:00:00 的时间戳 减去 23:59:59 的时间戳
//当天开始时间
$btime = date('Y-m-d'.'00:00:00',time());//转换成“开始”的时间戳
$btimestr = strtotime($btime);
//当天结束时间
$etime = date('Y-m-d'.'23:59:59',time());
//转换成“结束”的时间戳
$etimestr = strtotime($etime);
//今天已发布的职位数
$map_pub['ctime'] = array( array('egt' , $btimestr), array('elt' , $etimestr) );
$map_pub['uid'] = get_uid();
$count = M('jobs')->where( $map_pub )->count("*");