Display Date Added & Dated Modified on Show Item view?


How can I display, on my Show Item view, the date added and the last date modified? I assume I can use the Item(), but I'm still learning about that function.

Thank you!
Colleen Greene

Yes, you can get that information with item().

The item function documentation lists the "special" pieces of data you can get from that function, which include both "date added" and "date modified".

The dates you'll get from that function will be in a fairly low-level format. You can use PHP's strtotime and date functions or the (new in Omeka 1.5) format_date to change the dates to a more friendly format.