1 - convertir une pubDate en date $pubDate = $item->pubDate; $pubDate = strftime("%Y-%m-%d %H:%M:%S", strtotime($pubDate));