2017年2月10日

PHP 日期判斷式

date_default_timezone_set("Asia/Taipei");
if( strtotime('now') > strtotime('0000-00-00 00:00:00') && strtotime('0000-00-00 00:00:00') > strtotime('now') ){
    ...
}

沒有留言: