摘要: 日期转换为时间戳 PHP 提供了函数可以方便的将各种形式的日期转换为时间戳,该类函数主要是: strtotime():将任何英文文本的日期时间描述解析为时间戳。 mktime():从日期取得时间戳。 strtotime() strtotime() 函数用于将英文文本字符串表示的日期转换为时间戳,为  阅读全文
posted @ 2018-08-07 17:59 mingruqi 阅读(6709) 评论(0) 推荐(0)