Well there's the stupid obvious:
SELECT NOW();
SELECT * FROM yourtables
SELECT NOW();
For most queries, there's likely to be only a fraction of second required.
If you've got a LONG query going in mySQL, try:
SHOW PROCESSLIST
This will tell how long the query has been running, and what stage the db has got to.
My impression is that if you have enough time to invoke a "SHOW PROCESSLIST", you've really screwed up your query.
The main reason for using a SHOW PROCESSLIST is to find the id of the ugly query and follow it with a
KILL id command.
In point of fact if your queries are taking so long you're wondering how long they're taking, it means you need to optimize the query.
Start by using EXPLAIN
EXPLAIN SELECT somecolumn FROM sometable, someothertable, somethird table WHERE ....
Will cause mySQL to describe the way it's finding its answer.
You can then start indexing, etc.
The MySQL documentation on query optimization is very helpful.
www.mySQL.com