Date and time formats

Hi all, this may be really basic but I just haven't come across it in any manuals. Is there a keyword to print the date or time as follows?


Created 1 hour ago



or



Created Yesterday at 12:00pm



or



Created 3 days ago



-and then revert to normal date/time for older assets.



For very recently created assets, seeing a date/time like 12:01pm 16-Nov-2011 doesn't stand out against older dates. Any tips?

Yeah, you can use the following:

    %asset_created_relative%
    // When the asset was created, relative to the current date. For example, 3 days ago or 1 week ago.


    %asset_created_relative-dow%
    // When the asset was created, relative to the day of the week. For example, 5pm on Tuesday.	


These were added in a newer version, but I can't remember what it was.

Ref: http://manuals.matrix.squizsuite.net/concepts/appendices/keyword-replacements/

Thank you Nic, that's very helpful =)