Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: how to require at least 18 years old for signup?


fishbowl81
Participant

@fishbowl81

Ok, I realize there is a profile type of date.

It stores the date as a unix time stamp, for example my birthday is:

363326400

So all you need to do is this, subtract stored birthday from time(), if less then 18*365*24*60* then birthday is that of a minor.

how and where you do this is up to you.

Skip to toolbar