I am making a polling app which will only allow the user to cast a vote every 24 hours.
I have is so that it checks the time and then sees if the elapsed time is greater than 86400000.
The bit I want to know is a good way to check the INITIAL vote, as there is no date stamp for that user voting yet.
Any ideas?