Amazon do NOT know my date of birth. And you REALLY don't want to ask. If you ask, some people might be stupid enough to tell you -- you then have an important piece of personal information which you need to keep secure or risk legal repurcusions if you lose it!
If you need to know if someone is over 13, ask them to declare that they are over 13.
If your lawyer tells you you actually need to know people's age, then ask them their age. Do not ask them for their date of birth, which is a much more sensitive piece of information (many real-world identity checks include date of birth).