我试图只从字符串中获取日期。
<div class="entry_details">
  <i>
    <br>
    Team: EntryPod Podium
    <br>
    Created at:
  <script type="text/javascript">
      <!--//
      var d = new Date(1346364356000);
      document.write(d.toString());
      //--!>
  </script>
    Thu Aug 30 2012 15:05:56 GMT-0700 (PDT)
  </i>
</div>
我只想抓取 Thu Aug 30 2012 15:05:56 GMT-0700 (PDT) 并将其存储在变量中
我的代码是
$test = $this->getText("//div[contains(@class, 'entry_details')]");
但它抓住了EntryPod Podium 创建于:Thu Aug 30 等......