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
    Commented Jan 9, 2015 at 9:55
  • That is from the Fooman Pdf Customiser extension, that we use for PDF customization
    – JGeer
    Commented Jan 9, 2015 at 10:12
  • Then either ask Fooman, or post the getDate method in here if the license allows you.
    – Marius
    Commented Jan 9, 2015 at 10:21
  • I edit my question, with the getDate method
    – JGeer
    Commented Jan 9, 2015 at 10:25

1 Answer 1



<?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 and acknowledge you have read our privacy policy.

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