add compare-date-to-now() functionality