length check time better

d-mmm-yy is valid
dd-mmm-yy is valid