so I'm trying to figure out a way to convert a normal date in the format "dd/mm/yyyy" (for example : 31/12/2016).
I want to find a way to convert this date into a unique number, so I can re-convert it back.
for example i thought of sum=day+month*12 + year*365
as the number and then :
(sum % 365 ) / 12...
but it's not working for each statment. so any ideas?