1
whiteout
Adjusting Date Format
  • 2006/3/12 16:58

  • whiteout

  • Just popping in

  • Posts: 19

  • Since: 2006/3/12


Is there any way to adjust the date format that appears in profiles and elsewhere? Currently, it is 2006/3/12 and I'd like to alter it to something more like Mar 12th 2006.

2
stefan88
Re: Adjusting Date Format
  • 2006/3/12 17:18

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Yes, it is in /language/YOUR LANGUAGE/global.php file

You have to adjust those options to mach what you want:

define("_DATESTRING","d/m/Y G:i");
define("_MEDIUMDATESTRING","j/n/Y G:i");
define("_SHORTDATESTRING","d/m/Y");

Profiles probably is using shortdatestring. To have what you want, I think it shuld be something like:

define("_SHORTDATESTRING","M/jS/Y");

There is a description for different values in that file too.
..

3
justjeff
Re: Adjusting Date Format
  • 2006/3/13 14:33

  • justjeff

  • Just popping in

  • Posts: 81

  • Since: 2006/1/16


this will also help you

php manual date information
Jeff

4
whiteout
Re: Adjusting Date Format
  • 2006/3/20 2:31

  • whiteout

  • Just popping in

  • Posts: 19

  • Since: 2006/3/12


Thanks, I just got round to adjusting the date. Works perfectly.

Login

Who's Online

163 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits