how to move the cursor 2 steps forward after inserting the first two digits of a date

how to move the cursor 2 steps forward after inserting the first two digits of a date

The user enters the date in the following format: 22-2-2013

I don't know how to move the cursor forward automatically after the user enters 22