... yields "3 days ago" (it's Thursday)
$v_Str = getTimeAgo('first day of this month');
// yields "15 days ago" (it's the 16th)
The same PHP function as above but somewhat minimized
function getTimeAgo($p){
...
... Jan 2014 3.0 - Enhancement: Hardcoded DS value for Joomla 3.x compatibility.- Date Uploaded: Mon, 16th Sep 2013 2.2 - Enhancement: Parameter: If viewing an article, scan Displayed Article Only
- ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.