Sears interview question

Convert DD-mm-yyyy to dd-yy-mm Using scripting