timestamp 1 day 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);