Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • adrew Friend
    #123142

    I’m trying to change the date and time format that is displayed on my story pages. I want to show the date and the time that the story was created as well as when the story was last updated. The format I need is “h:i A l F ds, Y” i.e. 3:29 PM Monday October 8th, 2007.

    Currently all I get is Friday, October 5, 2007

    My site is: http://www.theshorthorn.com/

    Thanks for any and all help with this.

    Adam

    kashxo Friend
    #230828

    Have you try this code:
    [PHP]date(‘h:i A l dS F, Y’);[/PHP]

    adrew Friend
    #230862

    That date format looks good. Its just a matter of finding where to put it. I’m finding lots of different calls for date, or to get a paramater of $createDate and $modifyDate. I’ve looked in the com_content.php file and have changed the date format where I thought applicable but it does’t seem to have an effect on the pages being displayed. Any Suggestions?

    kashxo Friend
    #230872

    Please direct me to the page that you want the date to be displayed. Seem that I can’t find it 🙁

    adrew Friend
    #230953

    I finally found it late yesterday, it was in a most too obvious place. It was located in the “languages/english.php” It also used the “strftime( %A %B %d %Y %I %r );”

    Thanks for your help though

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  adrew 17 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum