摘要: 一直用strtotime校验,总觉得不太准确: <?php /** * 校验时间格式必须为Ymd格式或者Y-m-d格式 * * @param string $data 20200101|202-01-01 * @return bool */ function checkSimpleDateForma 阅读全文
posted @ 2021-03-25 16:01 许伟强 阅读(68) 评论(0) 推荐(0)