-4
$\begingroup$

This question already has an answer here:

How to calculate my age given date of birth? I have read other questions and answers but is not satisfied with answers. My question is how do I calculate my age if my date of birth is 18.03.2000?

$\endgroup$

marked as duplicate by KraZug, Kuba Jan 9 at 9:55

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1
$\begingroup$
dob = "18.03.2000";

age = DateDifference[DateList[{dob, {"Day", "Month", "Year"}}], DateList[], "Year"]

18.8148 yr

$\endgroup$
1
$\begingroup$
DateDifference[{2000, 3, 18}, Date[], "Year"]

18.814yr
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.