会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
没事就更
博客园
首页
新随笔
联系
订阅
管理
2018年5月16日
php 将时间格式 转为时间戳
摘要: 1 <?php 2 $gte = "2018-08-08"; 3 4 $year=((int)substr($gte,0,4));//取得年份; 5 6 $month=((int)substr($gte,5,2));//取得月份; 7 8 $day=((int)substr($gte,8,2));//取得几号; 9 10 $check_time = mktime(0,0...
阅读全文
posted @ 2018-05-16 16:35 没事就更
阅读(337)
评论(0)
推荐(0)
编辑
公告