Create comparedate