Hi every one,
I'm looking for the function that get period of time from the moment a post was created to now.
For example: 1 minute ago, 10 hours ago ...
Please tell me if you know.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- eddyfosman@eddyfosman
eddyfosman - 0 likes
You must log in to post replies.date("F j, Y", $post->time_created)
and that is called the 'friendy time' ;-) grep gives --> function elgg_get_friendly_time($time) in the core lib/outut
Thank you so much !!!