MyBB Community Forums
[How To?] Change postbit date to "time ago" format - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] Change postbit date to "time ago" format (/thread-219373.html)



Change postbit date to "time ago" format - Zadeyz - 2018-08-22

Hi MyBB, I want to change my postbit date from something like 
" 04-01-2018, 05:11 PM" to something like "4 months ago"  but whenever I add php in my template, it stops my postbit from displaying. 

How can I change  {$post['postdate']} to display a "time ago" format?