ARV187 Posted March 30, 2014 Report Share Posted March 30, 2014 Hi, I dont have option to change server time. Support server answer: the servers time is now:root@sv51 [~]# date Sun Mar 30 06:26:35 EDT 2014 Please check in your script / admin, where you can normally set the time zone that you exist in, and it will then show time/dates relevant to you, rather than the server. http://www.timeanddate.com/worldclock Please see: http://www.php.net/manual/en/function.date.php www.php.net/date www.php.net/time www.php.net/datetime Please let us know if there is anything further we can do for you. Best Regards How i can change the phpvms time? may be in local.config.php? My time hour is (UTC+01:00) Bruselas, Copenhague, Madrid, ParÃs Regards! Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted March 30, 2014 Moderators Report Share Posted March 30, 2014 I think that this setting can be done via your php.ini file. Can you gain access to it? Quote Link to comment Share on other sites More sharing options...
Tom Posted March 30, 2014 Report Share Posted March 30, 2014 In your local.config.php: date_default_timezone_set('Europe/Madrid'); Quote Link to comment Share on other sites More sharing options...
ARV187 Posted March 30, 2014 Author Report Share Posted March 30, 2014 I think that this setting can be done via your php.ini file. Can you gain access to it? I dont have that file in my ftp directory. In your local.config.php: date_default_timezone_set('Europe/Madrid'); # Page encoding options Config::Set('PAGE_ENCODING', 'UTF-8'); # Page time zone date_default_timezone_set('Europe/Madrid'); # Maintenance mode - this disables the site to non-admins Config::Set('MAINTENANCE_MODE', false); Not work to me. Quote Link to comment Share on other sites More sharing options...
ARV187 Posted March 30, 2014 Author Report Share Posted March 30, 2014 Hi there,Please see: http://www.php.net/manual/en/function.date.php www.php.net/date www.php.net/time www.php.net/datetime The timezone needs to be changed from your script or by adding the php.ini directive on your account. You have full control over this. Please let us know if there is anything further we can do for you. Best Regards Im looking for information. Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted March 30, 2014 Moderators Report Share Posted March 30, 2014 Create a php.ini on your public_html folder and use this: [DATE] date.timezone = date.timezone = "Europe/Madrid" PS: I haven't tested it. Quote Link to comment Share on other sites More sharing options...
ARV187 Posted March 30, 2014 Author Report Share Posted March 30, 2014 Im reading about htacces, i must write a line in. Quote Link to comment Share on other sites More sharing options...
ARV187 Posted March 30, 2014 Author Report Share Posted March 30, 2014 Create a php.ini on your public_html folder and use this: [DATE] date.timezone = date.timezone = "Europe/Madrid" PS: I haven't tested it. Its right this info? http://wiki.lunarpages.com/Create_php.ini Quote Link to comment Share on other sites More sharing options...
ARV187 Posted March 30, 2014 Author Report Share Posted March 30, 2014 Now time server is right, but phpvms not. 2014-03-30 16:36:06 ARV0187 - Toni Vicente Edited the aircraft "BEECH-350 - A039" Quote Link to comment Share on other sites More sharing options...
ARV187 Posted March 31, 2014 Author Report Share Posted March 31, 2014 Ok, i think that issue its in mysql time zone. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.