Calculate age automatically

How do I automatically calculate the age when users enter their date of birth? I’ve been looking for this article in forums but it’s been a long time and I can’t understand

When you getting the Date from an Date Picker use this block to get the Date:

Then input this and the call Block into this block from the Clock Component

You will getting the Mliliseconds between the Dates and if the Number is bigger than 567648000000 the user is older than 18.

thank you :slight_smile:

Make sure to mark the answer as solution to help others.

Happy :kodular:oding :+1:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.