Which timer library to use for several seconds of delay

It had been a while since I last worked on this, so my statement of activating a timer for 2 - 10 seconds was kind of misleading. I need to pulse the outputs for about 500 ms. The 2 - 10 second measurements are made using a polling timer as suggested.