Echo Date Created and Date Updated

Looked through the forum but couldnt find it.

Whats the code for echoing the 
Date Created and Date Updated dates into the box_product.inc.php ?
Thank you.


echo language::strftime('%e %b %Y %H:%M', strtotime($product->data['date_updated']));```
If you need some information for output in the [b]box_product.inc.php[/b] file, which is present in the admin, you can have a look at the code in [b]admin/catalog.app/edit_product.inc.php[/b]
tim

You can create a reference object using the $product_id you have accessible in the template view. Then use the reference object to access data.


echo language::strftime('%e %b %Y %H:%M', strtotime($product->date_created)); 
echo language::strftime('%e %b %Y %H:%M', strtotime($product->date_updated));```

Thank you!

View code on GitHub