Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

API of the last update time of whole Q2A's contents

+1 vote
asked Dec 22, 2010 in Q2A Core by sama55
Is there PHP-function to get last update&time of Q2A's contents(questions, answers,  comments and pages) ?

Best regards.

1 Answer

+2 votes
answered Dec 23, 2010 by gidgreen

For questions, answers and comments, you'd have to retrieve this directly from the database by getting the largest value of columns updated and created from the qa_posts table.

Alternatively you can add something to update your date information in function qa_report_write_action(...) in qa-app-limits.php, since this is called whenever a user write action takes place, including voting.

Currently the creation and modification times of pages are not stored.