1
ramtops
UK dates
  • 2005/2/18 19:00

  • ramtops

  • Just popping in

  • Posts: 6

  • Since: 2005/2/17


hi there

[first post]

I'm new to Xoops, new to PHP (I'm a Coldfusion programmer), but this is just what I need to sling a quick community site together before the upcoming UK election.

I've managed to work out pretty much everything from searching the forums, and reading the documentation, and tweaking bits here and there.

but is there any way to force dates to display in UK format? Or change them in any other way?

thanks in advance

--
mac jordan
site under construction

2
rowdie
Re: UK dates
  • 2005/2/18 19:16

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Look in xoops-root/language/english/global.php

At the bottom of the file you'll find what you're looking for

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


A list of date formats is there as well.

Welcome to XOOPS!

Rowd

3
ramtops
Re: UK dates
  • 2005/2/19 8:19

  • ramtops

  • Just popping in

  • Posts: 6

  • Since: 2005/2/17


that's terrific - worked a treat.

thanks so much!

--
mac jordan
site under construction

Login

Who's Online

196 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 196


more...

Donat-O-Meter

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

Latest GitHub Commits