• Welcome to WooUSEFUL by PHPVIBE . Please log in.

[ Video Sharing CMS v4 ] Website Time

Started by Bob.Weston,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bob.WestonTopic starter

is there a place somewhere that the time can be set?
I don't know where the time is being queried but the time in my moderator is always 7 hours off.
Like when I log in, it says logged in 7 hours ago, or upload a video, it says uploaded 7 hours ago.
It cannot be grabbing the server time because I use EST (New York) and I am only 6 hours difference from there.

Any help on what to do?

Bob
  •  

mihai

I would like that information too!!!
  •  

Marius

Top of vibe_setts.php

/** Timezone (set your own) **/
date_default_timezone_set('Europe/Bucharest');



Change it to your php timezone http://php.net/manual/en/timezones.php (make sure the second line is not commented with /* */ or //)
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

Bob.WestonTopic starter

Thanks Mario!

I set it for my time zone and it said everything was 6 hours off.. so I set it for EST and it is right on.
So that means the time has to be set to the same time as the server the website is on, not your local time zone.

Bob
  •  

Marius

If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

Similar topics (7)