I want to convert date of birth into age. This is my code.
String patientDOB = driver.findElement(id("patient_profile_widget_form_birthday")).getAttribute("value");
I'm getting date as: 03/01/1961
How could I convert this into age? I want output like => 57 Years
Any idea? :)