1
W1ZeR
Date/Time?
  • 2004/11/2 9:52

  • W1ZeR

  • Just popping in

  • Posts: 21

  • Since: 2004/8/20


Hi, I have a XOOPS site up and running but just realised that the Time is incorrect and the date is in US format. Can you please tell me how to get the date in DD/MM/YYYY format and change the time ?

Thanks

2
Mithrandir
Re:Date/Time?

You set the site timezone in system admin -> preferences -> general settings

The date format is set in xoops_root/language/[yourlanguage]/global.php - in the
define("_DATESTRING","Y/n/j G:i:s");
define("_MEDIUMDATESTRING","Y/n/j G:i");
define("_SHORTDATESTRING","Y/n/j");

around line 160

3
W1ZeR
Re:Date/Time?
  • 2004/11/3 14:38

  • W1ZeR

  • Just popping in

  • Posts: 21

  • Since: 2004/8/20


thanks I have the date format correct now but the time is still wrong, It shows GMT but the time is 5hrs behind?

4
Dave_L
Re:Date/Time?
  • 2004/11/3 15:06

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Check these settings in Control Panel >> System Admin >> Preferences >> General Settings:

* Server timezone
* Default timezone

Check this setting in Edit Account:

* Time Zone

If those are all correct, use this script to check your server's clock and timezone:

echo date('r'?>

5
W1ZeR
Re:Date/Time?
  • 2004/11/5 13:04

  • W1ZeR

  • Just popping in

  • Posts: 21

  • Since: 2004/8/20


thank you

Login

Who's Online

171 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 171


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