add custom date compare