1
adisbrow
how do I change a wrong date /time
  • 2004/6/26 16:14

  • adisbrow

  • Just popping in

  • Posts: 5

  • Since: 2004/2/20


Hi the date and time on my site are incorrect. I have looked everywhere and have yet to locate how to change this, today is June 26 and my site says June 27, anyone know where I go to fix this? Thanks.

2
Dave_L
Re: how do I change a wrong date /time
  • 2004/6/26 16:20

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


To diagnose this, first run this script on your server:

echo 'GMT time: ' gmdate('r') . "n";
echo 
'Local time: ' date('r') . "n";
?>


3
adisbrow
Re: how do I change a wrong date /time
  • 2004/6/26 16:41

  • adisbrow

  • Just popping in

  • Posts: 5

  • Since: 2004/2/20


Hi Since you want me to run something on my server then I am under the assumption that this may be a server side problem. I would like to run the script however, I have no idea how to do that. I will e-mail my host and see if it can be fixed,
Thanks for the fast response.

4
Dave_L
Re: how do I change a wrong date /time
  • 2004/6/26 17:15

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The information you posted isn't adequate to tell me what the problem is. Maybe you have the time zone set incorrectly in the XOOPS control panel and/or in your profile settings, or maybe the server's clock is set incorrectly.

The code I posted would help isolate the problem. If you copy and paste that into a new .php file, e.g. show_time.php, upload it to your server, and then run that script from your browser, it would show you what the server's clock is set to.

5
adisbrow
Re: how do I change a wrong date /time
  • 2004/6/26 18:37

  • adisbrow

  • Just popping in

  • Posts: 5

  • Since: 2004/2/20


Hi Thanks again for the fast response. I hadn't even thought of the time zone in my profile settings. Darn scoll mouse, must have messed that up last time I was in there. That has fixed the wrong date on the calendar that is on my site, however the date listed on my forum is wrong, it has tomorrows date. The date is correct on my server and in control panel.
I appreciate the instructions on how to check my server date/time, I don't know php, but I do know how to make and upload files.
Thanks again for the replies and the help.


Login

Who's Online

495 user(s) are online (57 user(s) are browsing Support Forums)


Members: 0


Guests: 495


more...

Donat-O-Meter

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

Latest GitHub Commits