Add first version of method for comparing dates