Is there any way to get displayed order date in the order confirmation email template? I know about {order_date} tag but it comes as unix datestamp and I have no clue how to convert it to regular date.



You need to use the format parameter. You can find the entire list of formatting codes here.

Something like:

{order_date format="%F %j %Y"}

Would output August 15 2014 if you purchased something today.

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.