penven

博客园 首页 新随笔 联系 订阅 管理

2017年1月15日 #

摘要: //js格式化时间戳,转换为时间格式 2017-1-15 4:10:15 //格式为 2017-01-15 16:10:15 //js格式化当前时间 2017-01-15 16:10:15 2017-01-15 17:12:07 2017-01-15 阅读全文
posted @ 2017-01-15 17:16 penven 阅读(3865) 评论(0) 推荐(0) 编辑

摘要: PHP 对于时间的过了多久的判断,几秒前,几分钟前,几小时前,$time = strtotime("2017-01-15 14:42:00"); 阅读全文
posted @ 2017-01-15 14:44 penven 阅读(995) 评论(0) 推荐(0) 编辑