Ah, sorry, your input format is DD-MMM-YY only two YY digits, right?
Your format code in the date#() function should exactely match your format of your strings.
Check your input values in table view or a list box. Check also, that they are not already interpreted as dates (maybe your standard date format is 'DD-MMM-YY'?).