i got a page source from a file using php and its output is similar to
-
2020-12-18 16:35
;
HTML;
$dom = new DOMDocument();
$dom->loadHTML($html);
$xpath = new DOMXPath($dom);
$div = $xpath->query('//div[@class="under"]');
$div = $div->item(0);
echo $dom->saveXML($div);
This will output: