我利用date()、strtotime()、cell()來比較日期區間。(1). strtotime(),接受一個包含英文日期格式的字串,並嘗試解析為UNIX時間。(2). cell(),回傳一個不小於value的下一個整數。 程式碼 結果