Dataflux

Reply
Occasional Contributor
Posts: 12

Dataflux

How to do email validation and date of birth validation as in if a person is minor or adult using sas dataflux

SAS Employee
Posts: 85

Re: Dataflux

The data of birth validation may be done within an expression:

boolean minor

if (today() - `dob`) < 6574.36

  minor = true

else

  minor = false

See also, the attachment.

-shawn

dob_minor_calculation.png

Ask a Question
Discussion stats
  • 1 reply
  • 209 views
  • 1 like
  • 2 in conversation