Passing date instead of string.