Page 1 of 1

News Module Timestamp?

Posted: Sat May 27, 2006 10:36 pm
by Dr.CSS
is there a way to timestamp the News articles like the date but 5/27/06 6:37 pm
did a forum search no luck....

    mark

Re: News Module Timestamp?

Posted: Sun May 28, 2006 8:33 am
by tsw
Iirc news date formatting uses php date function

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

so it might be something like  "m/d/y g:i a"

havent tested ;)

Re: News Module Timestamp?

Posted: Sun May 28, 2006 1:22 pm
by Dr.CSS
nothing in the .php's of the news module calls for more than the date to be stamped to an article,, was hoping to stamp the time article was posted also.....

  mark

Re: News Module Timestamp?

Posted: Mon May 29, 2006 8:51 am
by alby
tsw wrote: Iirc news date formatting uses php date function
http://fi.php.net/manual/en/function.date.php
so it might be something like "m/d/y g:i a"
From help: uses strftime and not date function
Does you try with:
dateformat="%D  %I:%M  %p"
or
dateformat="%D  %r"
parameter?

Alby

Re: News Module Timestamp?

Posted: Mon May 29, 2006 12:23 pm
by Dr.CSS
got it.... sort of, i was hoping to get the date in one place and the time in another... for now i get it on one line 6/27/06  12:30:59
oh well....

    mark
was hoping for something like the formatpostdate call  only formatposttime... actually both