upsidedownbin Posted November 30, 2009 Share Posted November 30, 2009 Hi has anyone figured out how to code a count up system for a comments page, it tells the user when the comment was sent without dispalying the time it was sent, for example, Comment sent 10 minutes ago, Comment sent 1 hour ago, Comment sent 1 year ago e.t.c, i dont need a whole comments page script, i just need some sort of function, that i can put a date stamp or date into it and its parameters and it will give me the length of time in words since it was published, thankyou Link to comment https://forums.phpfreaks.com/topic/183377-php-date-count-up/ Share on other sites More sharing options...
premiso Posted November 30, 2009 Share Posted November 30, 2009 http://snippets.dzone.com/posts/show/3044 Found googling the terms: "php time since". Link to comment https://forums.phpfreaks.com/topic/183377-php-date-count-up/#findComment-968272 Share on other sites More sharing options...
rajeevbharti Posted December 5, 2009 Share Posted December 5, 2009 http://snippets.dzone.com/posts/show/3044 Found googling the terms: "php time since". thank you for providing the code. this is also helpful for me... Link to comment https://forums.phpfreaks.com/topic/183377-php-date-count-up/#findComment-971768 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.