delta time js

timeA=new Date();
//intensive activity
deltaTime=new Date()-timeA;
Dead Dolphin