strtotime("now"); //現在的時間
strtotime("$theTime"); //轉成秒數
strtotime("2017-11-12");

if((strtotime("now") > strtotime($searchYear1)))

{

 ...........................
}

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 晨柚 的頭像
    晨柚

    晨柚的部落格

    晨柚 發表在 痞客邦 留言(0) 人氣()