您的位置:首页 > 编程语言 > PHP开发

php取得一天的开始到结束的时间戳

2011-11-12 16:02 316 查看
今天的开始:

1.strtotime(date('Y-m-d 00:00:00'))

2.strtotime('today')

今天的结束:

1.strtotime(date('Y-m-d 23:59:59'))

2.strtotime('tomorrow')
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: