| function convert_date($dateR){$engMon=array('January','February','March','April','May','June','July'  ,'August','September','October','November','December',' ');
 $months=explode (':', $GLOBALS['l_months']);
 $months[]=' ';
 $year=date('Y',strtotime($dateR))+543;
 $GLOBALS['dateFormat']=str_replace('Y', $year, $GLOBALS['dateFormat']);
 if(isset($GLOBALS['timeDiff']) and $GLOBALS['timeDiff']!=0) $dateR=date($GLOBALS['dateFormat'],strtotime($dateR)+$GLOBALS['timeDif  f']);
 else $dateR=date($GLOBALS['dateFormat'],strtotime($dateR));
 $dateR=str_replace($engMon,$months,$dateR);
 return $dateR;
 }
 
 cursived are new strings.
 |