php date add 1 day to current date code example Example: add 1 day php datetime $date = new DateTime('2000-01-01'); $date->add(new DateInterval('P1D'));