Better date parsing and formatting including 32 bit support (Invalid DateTime Check)