We prove that a control system which satisfies well known sufficient conditions for small time local controllability --- for example the Hermes condition ---  can be dynamically locally asymptotically stabilized by means of a continuous time-varying feedback law. For special systems (including systems without drift) we get local stabilization in finite time by means of a continuous time-varying feedback law. Full paper.