1$tomorrow = date("Y-m-d", strtotime('tomorrow'));
2or
3$tomorrow = date("Y-m-d", strtotime("+1 day"));
4
5for DateTime
6
7$datetime = new DateTime('tomorrow');
8echo $datetime->format('Y-m-d H:i:s');
9
10or
11
12$datetime = new DateTime('2013-01-22');
13$datetime->modify('+1 day');
14echo $datetime->format('Y-m-d H:i:s');
15
1$tomorrow = date("Y-m-d", strtotime('tomorrow'));
2or
3$tomorrow = date("Y-m-d", strtotime("+1 day"));
4
5for DateTime
6
7$datetime = new DateTime('tomorrow');
8echo $datetime->format('Y-m-d H:i:s');
9
10or
11
12$datetime = new DateTime('2013-01-22');
13$datetime->modify('+1 day');
14echo $datetime->format('Y-m-d H:i:s');