knowram Posted June 21, 2006 Share Posted June 21, 2006 Why is it not printing the time with regards to daylight savings time?it is 10pm and [code]echo date("g:i a");[/code]is saying that it is 11pm Quote Link to comment Share on other sites More sharing options...
poirot Posted June 21, 2006 Share Posted June 21, 2006 If you do this, it will print date based on the server's settings.These may help:[a href=\"http://www.php.net/phpinfo\" target=\"_blank\"]http://www.php.net/phpinfo[/a][a href=\"http://www.php.net/putenv\" target=\"_blank\"]http://www.php.net/putenv[/a] Quote Link to comment Share on other sites More sharing options...
knowram Posted June 21, 2006 Author Share Posted June 21, 2006 from what I have been able to tell you are suggesting using the putenv function to set the time-zone. That makes sense but what if the site is used in more then one 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.