0

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.

Thanks

1 Answer 1

1

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

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