It is such that I must have set day and month and year, but this is how I have problems with it here:
how the problem looks like now. (The problem is that there is going to be "array ...." before the day and date, and year.) "ArrayTirsdag 11 Jun 2013"
Would like this: "Tirsdag 11 Jun 2013"
echo "<td>" .
$days = array("Mandag","Tirsdag", "Onsdag","Torsdag","Fredag","Lørdag","Søndag");
$months = array("Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec");
$timestamp = strtotime($c->pubDate);
$dayInWeek = $days[date('N', $timestamp)-1];
$month = $months[date('n', $timestamp)-1];
$dayInMonth = date('d', $timestamp);
$year = date('Y', $timestamp);
echo $dayInWeek . ' ' .$dayInMonth. ' '.$month.' '.$year
. "</td>";