timestamp 1 day hours php code example Example 1: add one day to timestamp time() + 24*60*60; Example 2: add one day to timestamp strtotime('+1 day', $timestamp);