Codes: Time Elpased

As promised here are some codes powering BeeIMG.



this php function is very useful to the users, we use it almost everywhere. It converts time to easy human readable format.



when the second string is set to false, it will return the first 10 seconds of the time as 'Just now'. this was later added to calculate time of the real time image views.



to use it
timeelapsed($time) or timeelapsed($time,true)



Comments

Popular posts from this blog

BeeIMG App Lite Alpha

Recent Hiccups May 2016

Updates: Twitter one click login