add date predicate to variables