Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Hour Problem



Normal Mode | Print  

Hour Problem
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote From : Nube January 1, 2012, 10:51 pm
I have a problem with hour, i use this php script to "see" date and hour and the hour is not correct..

I tried to change the AMPPS setting putting "GMT+1" in the user controll settings but nothing changed.. I live in italy and the displayed hour is 22:50 instead of 23:50..

After setting the GMT+1 i restarted Apache and Mysql but nothing..

Do I have to edit PHP.ini file? if so, which line to edit?


Hi,

Edit the following line in php.ini(AMPPS Control Center -> PHP Tab -> Configuration),
Code
date.timezone = America/New_York


List of supported timezones can be found at http://www.php.net/manual/en/timezones.php



Edited by tidus : January 2, 2012, 5:42 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   


Threads
 Nube   Hour Problem (4 Replies, Read 11992 times)
    |--  Nube   sorry i forgot...   on January 1, 2012, 10:54 pm
    |--  tidus   I have a...   on January 2, 2012, 5:42 am
    |--  Nube   Thanks! :)    on January 2, 2012, 12:31 pm
    |--  ketan   Hi, Please let...   on January 2, 2012, 1:16 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 7, 2025, 3:55 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.151