什麽時間對應：時間（） - 24 * 60 * 60？ （PHP）

time()-24*60*60


7天？是對的嗎？

最佳答案

time() returns the current Unix timestamp which is number of seconds since the Unix Epoch. Also there are 24 hours in a day and 60 min in an hour and 60 sec in a min.