1
MSGDogs
Change date order
  • 2005/4/11 18:39

  • MSGDogs

  • Just popping in

  • Posts: 45

  • Since: 2003/8/8 1


Hi guys...hopefully a easy one for you....how can you change the order in which the date is shown ie from YYYY/MM/DD to DD/MM/YYYY ?

2
tripmon
Re: Change date order
  • 2005/4/11 19:00

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


depends on how the date is being called..

if you know if it's a php script, javascript,(you can find out by viewing the source code of the page and finding the script which is displaying the date), just google "date format" php (or javascript)it should be self explanatory after that.

3
Mithrandir
Re: Change date order

most dates are controlled by the language constant in your xoops-root/language/[language]/global.php file. Towards the bottom, I believe, there are a couple of constants for shortdatestring, mediumdatestring and longdatestring (or similar, it should be easy to find)

The codes used for the format are the ones for the date() function in the PHP Manual

4
MSGDogs
Re: Change date order
  • 2005/4/12 17:30

  • MSGDogs

  • Just popping in

  • Posts: 45

  • Since: 2003/8/8 1


Thank's Mithrandir that sorted it.

Login

Who's Online

130 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 130


more...

Donat-O-Meter

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

Latest GitHub Commits