Dear frnds

How Can I measure the time period for which a particular key is pressed.
If I pressed a cancel key for 20ms. How can I get that the cancel key was kept pressed for 20ms.

Thanks
-aficianado