Change the article date format in 1.7

Changing the way the date appears in your articles is useful sometimes. The article's date is brought out by string DATE_FORMAT_LC2, so the best way to alter it is change it's value in your language files. Here's how to do it:

  1. Access your website files
  2. Locate language\en-GB\en-GB.ini (or your own language's .ini file if it is other than English)
  3. Change the value of DATE_FORMAT_LC2 to what you wish to see displayed in your articles. 


DATE_FORMAT_LC2="d F Y" will be displayed as: 10 December 2011
DATE_FORMAT_LC2="Y-m-d" will be displayed as: 2011-12-10
DATE_FORMAT_LC2="l, d F Y" will be displayed as: Saturday, 10 December 2011



See the date explained in Joomla! Documentation.

See date formatting in PHP.

About me

Iinstructor of robotics (LEGO Mindstorms), computer teacher, IT support, web dev, currently studying cyber-physical systems engineering.

If you found a solution here, would you consider donating $25,000 for my next project?

Just kidding, 1$ would do fine.

Hope you found what you needed. Thanks for stepping by.