Jump to content
Sign in to follow this  
Botuist

Age checker

Recommended Posts

Hey guys,

I am trying to figure out a calculation (which I am not good at) that will tell me whether a person is over 18 or not. We collect birthdates for applications and some of my co-workers have a hard time doing the math of how old they are. Any help would be appreciated. Thanks!

Share this post


Link to post
Share on other sites

Check out this post

Link

Share this post


Link to post
Share on other sites

Try this:

Let ( [

dob = 14/7/1976 ;

d18 = Date ( Month ( dob ) ; Day ( dob ) ; Year ( dob )+18 ) ] ;

Case ( d18 ≥ Get ( CurrentDate ) ; "18+" ; "minor" )

)

Share this post


Link to post
Share on other sites

:therethere:

There there Stuart. I am more than sure Botuist didnt meant to snub your assistance.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Who Viewed the Topic

    2 members have viewed this topic:
    WTM  ltwimberly 
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.