View Single Post
Old 03-23-2004, 01:45 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Perhaps try the following.

In search_function.php replace:
PHP Code:
'update_date' => ereg_replace('^([0-9]{4})([0-9]{2})([0-9]{2}).*',PHPDIG_DATE_FORMAT,$content['last_modified']), 
with the following:
PHP Code:
'update_date' => date("l dS of F Y h:i:s A",strtotime(substr($content['last_modified'],0,8)." ".substr($content['last_modified'],8,2).":".substr($content['last_modified'],10,2).":".substr($content['last_modified'],12,2))), 
Then look at the date function and change "l dS of F Y h:i:s A" into whatever format you want.

Remember to remove any "word" wrapping in the above code.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote