文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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"));
?>
相关阅读 更多 +
排行榜 更多 +
风度

风度

游戏工具 下载
大姨妈月经提醒

大姨妈月经提醒

健康医疗 下载
海岸线小说网

海岸线小说网

浏览阅读 下载