Adding date method to hash and array filters