if someobody enter
9 -> show current moth with day 9 = 09.07.2009
15 -> show current moth with day 15 = 15.07.2009
today -> show current date = 09.07.2009
friday -> show date of next friday = 10.07.2009
and maybe after the user type 9 the cursor will be after this position and not at the end of the date.
does anybody know such a script?