The script below is really nice if you need to convert String dates that come in different (unexpected) formats. Just copy and paste the code in your Script Task (paste the function outside Main()) and it works right away. Supported date formats: YYMMDD
Read More...