• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

date and time when you add news

soba

I ♥ Deep House .
Joined
May 10, 2009
Messages
183
Reaction score
5
Location
Bełchatów
Hey, you know might like to add that perhaps the latestnews how to add new news is showing the date and time to add?as in the image below

 
You wonder how to do it, or would like them to implement it in a OTCMS?
 
but it helped me lol I need a script to latestnews.php added that as the news is showing the date and time ...
 
edit
PHP:
      <span class="NewsTickerDate">'.date("j M Y", $ticker['date']).' -</span>
?
 
Whats up did so as he wrote Zonet and came so
57552874157808345466.jpg
but I want that hour she wrote in Polish is not only no 3:28 pm 15:28 ;)

Edit
been the same I did with that date again by Zonet
 
Last edited:
as a something else clears the news is showing such a date how to change it to have written such date as is now
47002881892761799215.jpg
 
Replace this:
PHP:
'.date("j M Y", $news['date']).'
to
PHP:
'.date('d.m.y H:i:s', $news['date']).'
Or if you are using a latestnews connected to the forum
Replace this:
PHP:
'.date("j M Y", $row['post_date']).'
to
PHP:
'.date('d.m.y H:i:s', $row['post_date']).'
Rep++
 
Back
Top