Which would be a good hash algorithm for hash dates, for example. 24/12/09 and 31/10/89?
Dates will range from 1950 to 2050.
Is it possible to use a unix timestamp?
You can use the number of days instead of the number of seconds since starting Unix Epoch. Just calculate:
<unix timestamp> / 86400
Source: https://habr.com/ru/post/1719827/More articles:Cocoa -Touch, Core Data: Linker Error, NSManagedObject not found - objective-cHow to store pairs of simple names in the ldap directory - ldapЧто именно делает утилита "ar"? - cData Structures for Real-Time Applications - c ++IUnknown interface - for COM \ COM + objects? - c #WPF Animation Pause/Продолжить - animationHow to grab unbuffered output from stdout without changing a program? - cpython: анализировать HTTP-запрос POST с загрузкой файла и дополнительными параметрами - pythonHow to programmatically edit a datagridview cell value in virtual mode? - c #How to store links between pages in CMS - architectureAll Articles