Author Topic: Change servertime  (Read 4077 times)

0 Members and 1 Guest are viewing this topic.

Offline thebign

  • Pre-Newbie
  • Posts: 7
    • View Profile
    • http://thebign.dk
Change servertime
« on: November 03, 2002, 01:56:59 PM »
Hi Im using 4images on a US server - What script should I use to change it to european time (Denmark)

thebign

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
includes/constants.php
« Reply #1 on: November 03, 2002, 05:35:25 PM »
Open includes/constants.php and find this line:
Code: [Select]
define('TIME_OFFSET', 0);
The unit is hours and can be a positive or negative number.

Offline thebign

  • Pre-Newbie
  • Posts: 7
    • View Profile
    • http://thebign.dk
I changed but
« Reply #2 on: November 03, 2002, 11:31:33 PM »
I changed it but it didn't work.

Mayby there is some thing in templates file there must be changed too.

This is how is looks now

<?php
echo date("d.m.Y, H:i");
?>