... 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){
...
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.