i don't think you can figure out how much time somebody spends on a web page just by using Apache logs. You need to get more data from a tracking system implemented in your page.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.