PHP – 日期相減、取得相差的時間 ... $now = time(); //目前時間 ... echo date("H:i:s",$val); //格式化給人看得, 會得到00:01:40 1分40秒.
確定! 回上一頁