title: Magento: How to display a custom date attribute in product listing?
body: <p>I need to display a custom date attribute in product view and product listing. Currently, I am using the following code:</p>
  
  <pre><code>$_product-&gt;getResource()-&gt;getAttribute('my_date')-&gt;getFrontend()-&gt;getValue($_product);
  </code></pre>
  
  <p>For the product view this code works fine, but in product listing it does not.</p>
  
  <p>The attribute option 'Used in Product Listing' is set to 'yes', but this does not help.</p>
  
  <p>Any suggestions?</p>