This forum thread outlines several different methods of trying to ge the time of a MySQL request. Reading the whole thread is recommended.