Time ago date format | PHP
To set your time up as ’12 days ago’ instead of dd/mm/yyyy format.
Using ‘php time ago‘
<?php $timeAgo = new TimeAgo();
echo $timeAgo->inWords(get_the_time('jS F Y')); ?> ago
To set your time up as ’12 days ago’ instead of dd/mm/yyyy format.
Using ‘php time ago‘
<?php $timeAgo = new TimeAgo();
echo $timeAgo->inWords(get_the_time('jS F Y')); ?> ago