In our PDF we display the date of the order with this line:

<?php echo $this->getPdfHelper()->getDate()?>

public function _getDate($format = 'd-F-Y-H:i')
    return date($format, Mage::app()->getLocale()->storeTimeStamp());

Currently it is displayed as 2 Jan. 2015.

But we want to change this into Friday 2 January 2015.

What code do we need for this?

  • What is this getPdfHelper method? I did not find any trace of it. What file is that? – Marius Jan 9 '15 at 9:55
  • That is from the Fooman Pdf Customiser extension, that we use for PDF customization – JGeer Jan 9 '15 at 10:12
  • Then either ask Fooman, or post the getDate method in here if the license allows you. – Marius Jan 9 '15 at 10:21
  • I edit my question, with the getDate method – JGeer Jan 9 '15 at 10:25


<?php echo $this->getPdfHelper()->getDate()?>


<?php echo $this->getPdfHelper()->getDate('l d F Y')?>

See this for additional date formats

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.