Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
3.5k views
in Q2A Core by
I don't display any dates in questions but i want to display only latest action date in qa-main for example.
Q2A version: Latest

1 Answer

0 votes
by
Can you specify "action date"? Maybe you mean the last activity of question/answer/comment.

Then you could query:

                $lastactivity = qa_db_read_one_value(
                     qa_db_query_sub( 'SELECT `created` FROM `^posts`
                                ORDER BY created DESC
                                LIMIT 1
                      '), true );

which would return something like: "2015-07-02 23:00:13"
...