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? 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. 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! Link to comment https://forums.phpfreaks.com/topic/135844-solved-php-timedate-error/#findComment-708117 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.