Sorry about the coding. In order to help, I have posted the orgininal scripts with the software. I just want to change the date to the UK standard of 'day, month and year.'
Fncl.php
<?
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;
}
function slctgetstr($value)
{
$value=ereg_replace(' ', '+', $value);
$value=ereg_replace('@', '%40', $value);
$value=ereg_replace('!', '%21', $value);
return $value;
}
Fnc2.php
function get_date($time1)
{
global $months_nm;
$months=$months_nm;
$d=getdate($time1);
$d2=$d['mon'];
$date_string=$months[$d2-1]." ".$d['mday'].", ".$d['year'];
return $date_string;
}