I've got a webpage which records in UNIX when it was last viewed into a datbase field. I want to pull off a report incuding how many days ago this page was last viewed. I'm doing this in PHP
How do i work this out to display? At the moment I have the field showing when it was last accessed by using gmdate("M D Y ", $UNIXTIMESTAMPFIELD) but instead of the date of last access I want to display something like
23 days ago
Thanks
Kieran