This might be a small issue for many but I am not able to solve it.
I am trying to convert date stored in my db and extract day, month and year separately. I have been trying with the following code for conversion and it is returning the value depicting 01 January 1970 for what ever the input date value.
$item_date_day = date('d M Y', strtotime($item_date));
where $item_date
is the value from db
Sample DB Value: 28 September 15 (Monday)
Returned date after conversion: 01 Jan 1970
Required output: 28 Sep 2015
Any clue why the conversion is going wrong?