dbradbury Posted January 12, 2010 Share Posted January 12, 2010 got a date php code, it displays the date from a timestamp used in phpbb.. but it appears to be 8 hours behind.. ive tried editing my phpbb account +8 hours but nothing... please help... do i need to add something to it? my code: $date = date('G:ia - D jS M', $row['post_time']); Link to comment https://forums.phpfreaks.com/topic/188269-need-help-with-date/ Share on other sites More sharing options...
MatthewJ Posted January 12, 2010 Share Posted January 12, 2010 You should be ble to just do $date = date('G:ia - D jS M', $row['post_time'] + (60 * 60 * ); Link to comment https://forums.phpfreaks.com/topic/188269-need-help-with-date/#findComment-993910 Share on other sites More sharing options...
dbradbury Posted January 12, 2010 Author Share Posted January 12, 2010 yup that worked perfectly! thanks! Link to comment https://forums.phpfreaks.com/topic/188269-need-help-with-date/#findComment-993913 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.