Print time ago

Post Reply
Gohh
Ssr. Bludit
Posts: 11
Joined: Fri Aug 23, 2019 11:32 pm

How to print a time ago?
I try it this way, it doesn't work:

Code: Select all

<?php echo $page->timeago(); ?>
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

There is no value timeago.

If you need this you have to modify the output of the value time with a calculation.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Gohh
Ssr. Bludit
Posts: 11
Joined: Fri Aug 23, 2019 11:32 pm

Edi wrote: Wed Apr 08, 2020 2:06 pm There is no value timeago.

If you need this you have to modify the output of the value time with a calculation.
?

Code: Select all

<?php echo $time->timeago(); ?>
Post Reply