PDA

View Full Version : how can i show the time in news?


apocan
01-10-2007, 06:34 PM
i want to show the time apart from the date in the news but i couldnt find how?can you help me?

and also i couldnt change the dates to my language.although i change in language pack the month names doesnt change.

thanks for your help...

boccio
01-11-2007, 03:50 PM
Hardly... I don't see how you would separate this? PHP date() function does not allow that, I suppose with some heavy modifications to timestamp, and splitting date/time it would be feasible...

theodore
01-11-2007, 04:02 PM
Hi

I had the same promblem and the easiest way is to change the date format to mumeric for example not 31 Dec 2006 , but 31-12-2006.

http://www.php.net/manual/en/function.date.php

"m" for numeric Month

theodore

www.madata.gr (http://www.madata.gr)

apocan
01-12-2007, 06:43 PM
can you be more clear please :) i looked at that site but i couldnt understand what i should do :) thanks for your help