I am using two string variables to store two different dates. The dates are being stored in this format(May 28, 2019) and I need to find a difference in months.I am not able to figure if I need to first convert these dates to another format before doing the subtraction.
I am using getText() to get these dates from the following location //span[@class='expiry_date']