aquanuke Posted June 28, 2011 Share Posted June 28, 2011 Hi I need to convert this 2011-06-28T21:35:06.000Z to 28 Jun 2011 21 35 06 Thanks , sorry my brain cant handle it. Link to comment https://forums.phpfreaks.com/topic/240638-reg-ex-help-please/ Share on other sites More sharing options...
Pikachu2000 Posted June 28, 2011 Share Posted June 28, 2011 (moved from regex help) You don't need a regex pattern for this. All you need is strtotime(). echo date('d M, Y H:i:s', strtotime('2011-06-28T21:35:06.000Z')); Link to comment https://forums.phpfreaks.com/topic/240638-reg-ex-help-please/#findComment-1235959 Share on other sites More sharing options...
aquanuke Posted June 28, 2011 Author Share Posted June 28, 2011 Thankyou Link to comment https://forums.phpfreaks.com/topic/240638-reg-ex-help-please/#findComment-1235969 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.