How to find out average timestamp the field timestamp in a table gettime
Timestamp
2010-02-08 14:17:36 | 127.0.0.1 |
2010-02-08 14:17:30 | 127.0.0.1 |
2010-02-08 14:17:30 | 127.0.0.1 |
The following query gives some number how to format it and get it in seconds.
select avg(timestamp) from gettime;
the above gives some random number .How to format this