I'm having problems with the date() function as well. Try inspecting the original time and date strings by replacing date($fbcmdPrefs['stream_
dateformat'],$post['created_time']) with $post['created_time']. The
date-format preference won't work then, off course.
I get strings like
2015-02-12T19:00:00+0100 but also just
2015-02-12. I should probably change the default timestamp- date- and time format strings in php.ini.
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
ibase.dateformat = "%Y-%m-%d"
ibase.timeformat = "%H:%M:%S"