use comparedate for needsrefresh comparison