I am trying to change the following so that I get 'day, month and year' as opposed to 'month, day and year' which the following shows. How do I change it please?
<?
function get_short_date($time1)
{ global $months_short;
$months=$months_short;
$d=getdate($time1);
$d2=$d['mon'];
$date_string=$months[$d2-1]." ".$d['mday'];
return $date_string;
}
function get_date_f($date1)
{
global $months_short, $weekdays;
$months1=array('january', 'february', 'march', 'april', 'may', 'june',
'july', 'august', 'september', 'october', 'november','december');
$months=$months_short;
$dt_mss=split('-',$date1);
$d2=$dt_mss[1];
$dtstr=$dt_mss[2]." ".$months1[$d2-1]." ".$dt_mss[0];
$evnttime=strtotime($dtstr)+1000;
$evntd=getdate($evnttime);
$evntd2=$evntd['wday'];
$evntwkd=$weekdays[$evntd2];
$date_string=$months[$d2-1]." ".$dt_mss[2]." ($evntwkd)";
return $date_string;
}