Better date parsing and formatting including 32 bit support (Unix timestamp format)