参数为多个日期时间的数组,返回离当前时间最近的那个时间
php //我只能想到foreach方式咯,欢迎大神修改 $data = [ '2020-02-02 11:11:11', '2019-02-02 11:55:11', '2018-12-02 11:33:11', '2017-12-...
php //我只能想到foreach方式咯,欢迎大神修改 $data = [ '2020-02-02 11:11:11', '2019-02-02 11:55:11', '2018-12-02 11:33:11', '2017-12-...
php function getWeekday($time = '', $first = 1){ if (!$time) $time = time(); $sdefaultDate = date("Y-m-d", $time); //...
暂时无可提供的摘要
暂时无可提供的摘要