- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
$year = date("Y");
$month = date("m");
$day = date("d");
if ($month == 9 or $month == 10 or $month == 11)
{
$month_new = $month + 1;
echo $year.'-'.$month_new.'-'.$day;
}
else
{
if ($month == 12) {$year_new = $year + 1;
$year_new = $year + 1;
$month_new = 1;
echo $year_new.'-0'.$month_new.'-'.$day; }
else {
$month_new = $month + 1;
echo $year.'-0'.$month_new.'-'.$day;}
}
istem 23.02.2011 01:37 # 0
мои глаза :)
Sulik78 23.02.2011 02:15 # 0
Lure Of Chaos 24.02.2011 01:09 # 0
это его глаза