Relay parameter with Arduino

I want to find the operate-time and release time of a relay for a research purpose. The timing will be in the range of 10-20 milliseconds. Is there is any possible way to count the timing using Arduino?