Time and Date

wright 42
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Time and Date

wright
OP
42
From: -
From: -
Worked perfect thanks.
1 Re: Time and Date

Philipp Esselbach
From: -
Editor
0From: -
You need to add the following code in the PHP part of the templates news_story and news_story_extended:
and the following code in the PHP part of articles_summary:
$date_array = explode(" ",$insert['newsstory_date']);
$insert['newsstory_date'] = $date_array[0];
and the following code in the PHP part of articles_summary:
$date_array = explode(" ",$insert['article_date']);
$insert['article_date'] = $date_array[0];
How do I remove the "time"? I would just like to display the date for when news/articles are posted and not the time.