Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default change date format how??

    ive asked this before and done it before but can i for the life of me remember how to do it or find my post for over a year ago.

    how can i change the date format from us m/d/y to uk format d/m/y??

    thanks

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: change date format how??

    includes/languages/english.php -- adapt if using overrides

    around line #24

    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

    Switch the %d and %B around, like this:

    define('DATE_FORMAT_LONG', '%A %B %d, %Y'); // this is used for strftime()

  3. #3
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: change date format how??

    thanksbut is it not the line before??

    define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime()

    ??

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: change date format how??

    You'll notice two lines, one right after the other:

    DATE_FORMAT_SHORT
    DATE_FORMAT_LONG

    Change both or whichever one you want.

 

 

Similar Threads

  1. How do I change the Date format?
    By tobicky in forum General Questions
    Replies: 62
    Last Post: 29 Jul 2011, 05:46 AM
  2. How do I change date format?
    By craftyrose in forum Basic Configuration
    Replies: 3
    Last Post: 21 Aug 2010, 03:52 AM
  3. How to change date format
    By dail in forum Customization from the Admin
    Replies: 0
    Last Post: 13 Jun 2007, 08:35 AM
  4. How change date format to spanish?
    By Stack A Brown in forum General Questions
    Replies: 1
    Last Post: 17 Apr 2007, 09:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR