Clock/Time Zone

Powerfull XFileSharing version

Moderator: admin

Message
Author
shockratez
Posts: 3
Joined: Oct 10, 2010 7:25 pm

Clock/Time Zone

#1 Postby shockratez » Nov 16, 2010 8:14 pm

How can I change the time used by the site?
I need to have upload/download, registering, payment, expiring-time etc. displayed according to my target area (GMT +2 hours ).
Any ideas how I could do this?

In future versions it would be good to have an option for the users to choose the time zone themselves.

-Thanks

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#2 Postby ankurs » Nov 17, 2010 5:00 am

change the time of your server

shockratez
Posts: 3
Joined: Oct 10, 2010 7:25 pm

#3 Postby shockratez » Nov 24, 2010 9:38 pm

Changing the time of the server isn't possible in this case.

I've also tried to add SetEnv TZ EET and SetEnv TZ Europe/Helsinki to .htaccess with no result.
I also understand I could use php function date_default_timezone, but don't know what file(s) I should add it on.

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#4 Postby ankurs » Nov 25, 2010 5:24 am

its a perl script, you cant use php function

nyan
Posts: 163
Joined: Oct 28, 2010 8:01 pm

#5 Postby nyan » Nov 25, 2010 6:27 pm

http://stackoverflow.com/questions/7533 ... -localtime

haven't tried it, but the file you need to edit is index.cgi


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 1 guest