title: Set Special Price Programmatically In Magento
body: <p>I am trying to write a script that will set a special price on a product with a start and an end date. When I run my script it does successfully set the special price, but the start and end date do not populate in the admin panel.</p>
  
  <p>The code I am running is as follows:</p>
  
  <pre><code>$product = Mage::getModel('catalog/product')-&gt;load(114912);
  $product-&gt;setSpecialPrice( ($product-&gt;getPrice() * .90)   );
  
  $product-&gt;setSpecialFromDate('2010-11-01');
  $product-&gt;setSpecialFromDateIsFormated(true);
  
  $product-&gt;setSpecialToDate('2010-11-30');
  $product-&gt;setSpecialToDateIsFormated(true);
  
  $product-&gt;save();
  </code></pre>
  
  <p>Does anyone know what I am doing wrong here?</p>