You could use the DATEDIF function.