RSS parsing. How to display the date?

Resource available:

<?php 
$url = 'http://news.instaforex.com/ru/analytics/rss'; // RSS 
$rss = simplexml_load_file($url);       // XML-  
//    RSS 
foreach ($rss->channel->item as $item) {
    echo '<h4>'.$item->title.'</h4>'; //     
    echo $item->description.'<br>'; //    
}

In the original, the date and time are also displayed under the heading, this script does not provide for this. How to do it?
Thank you.


Answer 1, authority 100%

Make print_r($item), see which property is responsible for the date. Based on the XML, this is pubDate. And output it in a loop.

It should look like this:

foreach ($rss->channel->item as $item) {
    echo '<h4>'.$item->title.'</h4>';
    echo $item->description.'<br>';
    echo $item->pubDate.'<br>'; //  
}

Answer 2, authority 100%

need to do print_r($item). And see what fields are there. And refer to $item->__


Answer 3

date("d:m:Y", strtotime($strdate))

Update

Or rather, it will be, taking into account the above condition:

date("d:m:Y", strtotime($item->pubDate));