Better date parsing and formatting including 32 bit support (Comments fixed)