f500designs Posted December 6, 2008 Share Posted December 6, 2008 this is my time/date code: date_default_timezone_set('CST'); $today = date("l, F j, Y H:i T"); However it is printing time in UTC as the timezone... any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/135844-solved-php-timedate-error/ Share on other sites More sharing options...
ratcateme Posted December 6, 2008 Share Posted December 6, 2008 quick check of the list of supported timezones it is not on there i am assuming you want "Central Time Zone" try setting it to "US/Central" Scott. Quote Link to comment https://forums.phpfreaks.com/topic/135844-solved-php-timedate-error/#findComment-708114 Share on other sites More sharing options...
f500designs Posted December 6, 2008 Author Share Posted December 6, 2008 quick check of the list of supported timezones it is not on there i am assuming you want "Central Time Zone" try setting it to "US/Central" Scott. worked perfectly... thank you! Quote Link to comment https://forums.phpfreaks.com/topic/135844-solved-php-timedate-error/#findComment-708117 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.