Home » questions » How can i calculate how long a webpage (PHP) refresh.Can you help me?
How can i calculate how long a webpage (PHP) refresh.Can you help me?
I try use a variable save time: $time_start=time();
function calculate(time){
var futdate = new Date()
var time_end= (futdate.getTime())/1000
alert (time_end-time_start);
}
And i use
But it run wrong.I think because time_start variable, but i cant repair.
How can i calculate how long a webpage refresh?Can you help me. Thanks

Answers
blu3bird
On 2006-08-17 21:03:58