ankycooper Posted April 23, 2007 Share Posted April 23, 2007 hi my system clock is in IST but My php code gives an output in GMT/UTC how to set my timezone in php.ini there is date.timezone = i tried +5.5 and also IST but none of them work Need Help Link to comment https://forums.phpfreaks.com/topic/48215-lets-see-who-is-the-guru-of-all/ Share on other sites More sharing options...
Guest prozente Posted April 23, 2007 Share Posted April 23, 2007 You need to use one of defined timezones instead of trying +5.5, see the below link: http://us3.php.net/manual/en/timezones.indian.php Link to comment https://forums.phpfreaks.com/topic/48215-lets-see-who-is-the-guru-of-all/#findComment-235699 Share on other sites More sharing options...
trq Posted April 23, 2007 Share Posted April 23, 2007 Sorry, I'm not sure what IST is exactly. My timezone is set such as.... date.timezone = "Australia/Sydney" There is a list of available timezones in /usr/share/zoneinfo on Linux. Link to comment https://forums.phpfreaks.com/topic/48215-lets-see-who-is-the-guru-of-all/#findComment-235700 Share on other sites More sharing options...
Guest prozente Posted April 23, 2007 Share Posted April 23, 2007 ankycooper, looks like the correct one for you would be "Asia/Calcutta" Link to comment https://forums.phpfreaks.com/topic/48215-lets-see-who-is-the-guru-of-all/#findComment-235707 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.