I have two dates. I need to determine if the user is over 18 based on the date they entered.
I assume I have to do something like subtract their birthdate from today, but its not exactly that straight forward.
Any suggestions or a code sample you could point me to? That would be excellent!
Thanks :)
I assume I have to do something like subtract their birthdate from today, but its not exactly that straight forward.
Any suggestions or a code sample you could point me to? That would be excellent!
Thanks :)
Comment