Ten kod vypada podezřele jednoduše. Posuďte sami:
startDate = new Date();
startTime = startDate.getTime() / 1000;
function calceRenderingTime()
{
endDate = new Date();
endTime = endDate.getTime() / 1000;
alert(endTime - startTime);
}
Ten kod vypada podezřele jednoduše. Posuďte sami:
startDate = new Date();
startTime = startDate.getTime() / 1000;
function calceRenderingTime()
{
endDate = new Date();
endTime = endDate.getTime() / 1000;
alert(endTime - startTime);
}