Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
BrainCMS News Timestamp
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Kodys" data-source="post: 390401" data-attributes="member: 71959"><p>In the news.php or whatever the file is called find where its placing the timestamp and put date("dd/mm/yyyy", $whateverisbeingused). It would display the date as 28/11/2016 - not what you asked for but look for some documentation on the date function I'd do it but its very early.</p><p>[spoiler=Example]</p><p>[code=PHP]</p><p>//Old would be something along the lines of</p><p>echo $news["timestamp"];</p><p>//Replace that with</p><p>echo date("dd/mm/yyyy", $news["timestamp"]);</p><p>[/code][/spoiler]</p></blockquote><p></p>
[QUOTE="Kodys, post: 390401, member: 71959"] In the news.php or whatever the file is called find where its placing the timestamp and put date("dd/mm/yyyy", $whateverisbeingused). It would display the date as 28/11/2016 - not what you asked for but look for some documentation on the date function I'd do it but its very early. [spoiler=Example] [code=PHP] //Old would be something along the lines of echo $news["timestamp"]; //Replace that with echo date("dd/mm/yyyy", $news["timestamp"]); [/code][/spoiler] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
BrainCMS News Timestamp
Top