You should never parse dates and times if you can avoid it. Just use the date and time provided packages.