文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>getDay 函数

getDay 函数

时间:2006-11-29  来源:yanjing5462

<?php
/*
function getDay($days)
{
 return strtotime(date("Y-m-d", strtotime($days . ' days')));
}
$sql = "select id from `xdb_user` where registerdate>".getDay("-10")." and registerdate<".getDay("-5"); echo $sql;
*/
//本月1号
echo date("Y-m-d", strtotime(date("Y-m")."-01"));
?>
相关阅读 更多 +
排行榜 更多 +
合成大光头

合成大光头

休闲益智 下载
忍者刺客武士

忍者刺客武士

动作格斗 下载
打工砖家

打工砖家

模拟经营 下载