problem med dato
hvis jeg udskriver følgende variabler giver det følgende:december,november,oktober,september,august,juli,juni,maj,april,marts,marts,januar
hvorfor kommer marts 2 gange og ingen februar?
$thisMonth = date("Y-M-d");
$firstMonth = date("Y-M-d", strtotime("-1 month"));
$secondMonth = date("Y-M-d", strtotime("-2 month"));
$thirdMonth = date("Y-M-d", strtotime("-3 month"));
$fourthMonth = date("Y-M-d", strtotime("-4 month"));
$fifthMonth = date("Y-M-d", strtotime("-5 month"));
$sixthMonth = date("Y-M-d", strtotime("-6 month"));
$seventhMonth = date("Y-M-d", strtotime("-7 month"));
$eightMonth = date("Y-M-d", strtotime("-8 month"));
$ninthMonth = date("Y-M-d", strtotime("-9 month"));
$tenthMonth = date("Y-M-d", strtotime("-10 month"));
$elleventhMonth = date("Y-M-d", strtotime("-11 month"));
