How to change "Nov 9 03:21:11" to yymmdd mmhhss using AppleScript/Unix? How to change string "Nov 9 03:21:11" to yymmdd mmhhss in AppleScript?
I don't have a mac to test with, but the OSX date man page suggests:

old="Nov 9 03:21:11"
new=$( date -j -f "%b %e %T" "$old" "+%Y%m%d %H%M%S" )
echo "$new"


I stongly recommend using 4-digit years. Have we learned nothing from Y2K?