Parsing date and MD5 correctly