What would be a good hash-algorithm to hash dates, e.g. 24/12/09 and 31/10/89?
The dates would range from about year 1950 to 2050.
Could using the unix timestamp somehow, be possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use the number of days instead of the number of seconds since the start of the Unix Epoch. Just calculate: