ballhogjoni Posted February 5, 2011 Share Posted February 5, 2011 2011-02-05T18:07:57.00+0000 This is a string. Link to comment https://forums.phpfreaks.com/topic/226824-how-do-i-convert-this-time-stamp-to-just-the-date/ Share on other sites More sharing options...
Pikachu2000 Posted February 5, 2011 Share Posted February 5, 2011 $stamp = '2011-02-05T18:07:57.00+0000'; echo date('Y-m-d', strtotime($stamp)); Link to comment https://forums.phpfreaks.com/topic/226824-how-do-i-convert-this-time-stamp-to-just-the-date/#findComment-1170412 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.